- 移除`config.json`中的文件API配置 - 将卡片和笔记的路由及组件整合至`index.ts`和对应的页面组件中 - 删除不再使用的`CardShower`组件 - 更新`NoteShower`组件以使用新的路由配置 - 重构`Home.vue`,移除编辑功能并使用新的卡片显示逻辑 BREAKING CHANGE: 卡片和笔记的API端点及相关配置已从`config.json`中移除。
vue-project
This template should help get you started developing with Vue 3 in Vite.
Recommended IDE Setup
VSCode + Volar (and disable Vetur).
Type Support for .vue
Imports in TS
TypeScript cannot handle type information for .vue
imports by default, so we replace the tsc
CLI with vue-tsc
for type checking. In editors, we need Volar to make the TypeScript language service aware of .vue
types.
Customize configuration
See Vite Configuration Reference.
Project Setup
npm install
Compile and Hot-Reload for Development
npm run dev
Type-Check, Compile and Minify for Production
npm run build
https://tailwindcss.com/docs/guides/vite#vue
npm install -D tailwindcss postcss autoprefixer npx tailwindcss init -p
Description
Languages
Vue
76%
JavaScript
11.8%
TypeScript
11.5%
HTML
0.6%
CSS
0.1%