zheng bd166326af vue3 2 days ago
..
.vscode b92e60a96a vue3 2 days ago
public b92e60a96a vue3 2 days ago
src bd166326af vue3 2 days ago
.gitignore b92e60a96a vue3 2 days ago
README.md b92e60a96a vue3 2 days ago
env.d.ts b92e60a96a vue3 2 days ago
index.html b92e60a96a vue3 2 days ago
package-lock.json b92e60a96a vue3 2 days ago
package.json b92e60a96a vue3 2 days ago
tsconfig.app.json b92e60a96a vue3 2 days ago
tsconfig.json b92e60a96a vue3 2 days ago
tsconfig.node.json b92e60a96a vue3 2 days ago
vite.config.ts b92e60a96a vue3 2 days ago

README.md

project1

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

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