- 在 counter store 中新增 isCollapseStore 状态管理 - 使用 Pinia 的 storeToRefs 替代 props 传递方式 - 实现侧边栏宽度动态切换逻辑,支持折叠展开 - 移除组件间 props 传递,统一使用全局状态管理 - 配置 ESLint 规则禁用单词组件名检查 - 优化布局组件的状态管理架构
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