部署开发环境 / deploy-dev (push) Successful in 3m0s
- 将 auto-imports.d.ts 和 components.d.ts 移至 src/types/import 目录 - 修改 tsconfig.app.json 配置以排除旧的类型定义文件路径 - 在 vite.config.ts 中更新类型定义文件输出路径配置 - 重新生成组件和自动导入的类型声明文件
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