master
- md-editor-v3 5.x 依赖 Vue 3.5+ 的 useId API,与项目中 Vue 3.4.38 版本不兼容 - 将 package.json 中 md-editor-v3 版本由 ^5.2.2 修改为精确版本 4.21.3,确保兼容 Vue 3.2+ - pnpm install 后重新构建成功,修复 nuxt build 报错 - 保持业务代码兼容,不需改动现有使用 MdEditor 的组件 - 备注:待 nuxt 升级至 3.13+(内置 Vue 3.5)时,可恢复 md-editor-v3 5.x 版本 - 同时更新 ZSNews 组件中“查看更多”链接地址,调整为正确的文章路径 /article/4161.html
Nuxt 3 Minimal Starter
Look at the Nuxt 3 documentation to learn more.
Setup
Make sure to install the dependencies:
# npm
npm install
# pnpm
pnpm install
# yarn
yarn install
# bun
bun install
Development Server
Start the development server on http://localhost:3000:
# npm
npm run dev
# pnpm
pnpm run dev
# yarn
yarn dev
# bun
bun run dev
Production
Build the application for production:
# npm
npm run build
# pnpm
pnpm run build
# yarn
yarn build
# bun
bun run build
Locally preview production build:
# npm
npm run preview
# pnpm
pnpm run preview
# yarn
yarn preview
# bun
bun run preview
Check out the deployment documentation for more information.
Description
Languages
Vue
48.9%
TypeScript
35.9%
CSS
14.6%
HTML
0.5%