- 移除了 AboutView.vue 中的多余代码- 完善了 CustomLogin.vue 中的登录逻辑,添加了表单提交后的处理 - 更新了 CustomNews.vue 中的数据请求方式- 删除了不再使用的 db.json 文件 - 在 package.json 中添加了 serve 脚本 - 在 vite.config.js 中配置了服务器代理 |
||
|---|---|---|
| .vscode | ||
| public | ||
| src | ||
| .eslintrc.cjs | ||
| .gitignore | ||
| .prettierrc | ||
| index.html | ||
| jsconfig.json | ||
| package.json | ||
| README.md | ||
| vite.config.js | ||
vue-project
This template should help get you started developing with Vue 3 in Vite.
Recommended IDE Setup
VSCode + Volar (and disable Vetur).
Customize configuration
See Vite Configuration Reference.
Project Setup
npm install
Compile and Hot-Reload for Development
npm run dev
Compile and Minify for Production
npm run build
Lint with ESLint
npm run lint