部署开发环境 / deploy-dev (push) Successful in 2m3s
- 在 API 模块中添加获取版本信息的接口方法 - 在设置页面组件中引入 API 并调用版本获取方法 - 使用 onMounted 钩子在组件挂载时获取版本数据 - 将获取到的版本信息绑定到模板中显示 - 完成设置页面的初始功能实现
web
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