- 移除 App.vue 中的复杂布局结构,改为使用 RouterView - 新增 DefaultLayout.vue 和 LoginLayout.vue 组件用于不同页面布局 - 更新 CustomLogin.vue 样式,增加登录容器和背景图 -调整 main.css 中的样式,使页面宽度自适应 |
||
|---|---|---|
| .vscode | ||
| public | ||
| src | ||
| .eslintrc.cjs | ||
| .gitignore | ||
| .prettierrc | ||
| db.json | ||
| 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