- 移除了笔记路由,暂时禁用相关的noteRoute()函数。 - 重构了getCardUrl()和getNoteUrl()方法,使用URL构造器以增强可读性和可维护性。 - 在cardRoute()和noteRoute()中,将user_name从路由参数中移除,现在通过查询参数处理。
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%