- 将原始 div 结构替换为 el-main 和 el-card 组件 - 移除自定义容器样式,采用 Element Plus 默认样式 - 调整文本域边框样式从 border 改为 outline - 禁用文本域调整大小功能 - 优化按钮状态样式过渡效果 - 移除页面底部说明区域 - 更新侧边栏菜单项路由配置为实际路径
flask-ui
This template should help get you started developing with Vue 3 in Vite.
Recommended IDE Setup
VS Code + Vue (Official) (and disable Vetur).
Recommended Browser Setup
- Chromium-based browsers (Chrome, Edge, Brave, etc.):
- Firefox:
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
Lint with ESLint
npm run lint