7face117f3
- 移除 watch 监听器,改用事件驱动方式保存配置 - 添加 writeServerUrl、writeToken 等配置保存方法 - 在表单项上绑定 change 事件触发配置保存 - 移除不再使用的 nextTick 导入 - 统一配置保存逻辑到独立函数中
frontend
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
pnpm install
Compile and Hot-Reload for Development
pnpm dev
Type-Check, Compile and Minify for Production
pnpm build