# nuxt3_ts_blog **Repository Path**: blog_9/blog_web ## Basic Information - **Project Name**: nuxt3_ts_blog - **Description**: nuxt3.js + ts 前端博客界面 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: https://www.itliuyang.com/ - **GVP Project**: No ## Statistics - **Stars**: 9 - **Forks**: 0 - **Created**: 2022-07-29 - **Last Updated**: 2024-07-04 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Nuxt 3 Minimal Starter Look at the [nuxt 3 documentation](https://v3.nuxtjs.org) to learn more. ## Setup Make sure to install the dependencies: ```bash # yarn yarn install # npm npm install # pnpm pnpm install --shamefully-hoist ``` ## Development Server Start the development server on http://localhost:3000 ```bash npm run dev ``` ## Production Build the application for production: ```bash npm run build ``` Locally preview production build: ```bash npm run preview ``` Checkout the [deployment documentation](https://v3.nuxtjs.org/guide/deploy/presets) for more information. 2022/06/29 富文本 @kangc/v-md-editor 替换成 md-editor-v3 api/comment/[id].post.ts import { useBody } from 'h3' export default defineEventHandler(async (event) => { // 获取body const body = await useBody(event) // 获取动态id const id = event.context.params.id // 请求接口 const res = await $fetch(COMMENT + id, { method: 'POST', body: body }) return res }) 出现 找不到pinia Cannot find module 'xxxx\node_modules\pinia\dist\pinia.mjs' 卸载pinia 重新来过 npm install --save pinia @pinia/nuxt pinia-plugin-persist pinia-plugin-persistedstate --legacy-peer-deps