zheng 91659164a9 vue3 3 days ago
..
.vscode 890312624a vue3 3 days ago
public 890312624a vue3 3 days ago
src 91659164a9 vue3 3 days ago
.gitignore 890312624a vue3 3 days ago
README.md 890312624a vue3 3 days ago
auto-imports.d.ts 91659164a9 vue3 3 days ago
components.d.ts 91659164a9 vue3 3 days ago
env.d.ts 890312624a vue3 3 days ago
index.html 890312624a vue3 3 days ago
package-lock.json 91659164a9 vue3 3 days ago
package.json 91659164a9 vue3 3 days ago
tsconfig.app.json 7b1d567a49 vue3 3 days ago
tsconfig.json 890312624a vue3 3 days ago
tsconfig.node.json 7b1d567a49 vue3 3 days ago
vite.config.ts 91659164a9 vue3 3 days ago

README.md

project6

This template should help get you started developing with Vue 3 in Vite.

Recommended IDE Setup

VSCode + Volar (and disable Vetur).

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