zheng 09448c24d1 webpack 4 hete
..
.vscode 09448c24d1 webpack 4 hete
public 09448c24d1 webpack 4 hete
src 09448c24d1 webpack 4 hete
.env.development 09448c24d1 webpack 4 hete
.env.production 09448c24d1 webpack 4 hete
.gitignore 09448c24d1 webpack 4 hete
README.md 09448c24d1 webpack 4 hete
auto-imports.d.ts 09448c24d1 webpack 4 hete
components.d.ts 09448c24d1 webpack 4 hete
env.d.ts 09448c24d1 webpack 4 hete
index.html 09448c24d1 webpack 4 hete
package-lock.json 09448c24d1 webpack 4 hete
package.json 09448c24d1 webpack 4 hete
tsconfig.app.json 09448c24d1 webpack 4 hete
tsconfig.json 09448c24d1 webpack 4 hete
tsconfig.node.json 09448c24d1 webpack 4 hete
vite.config.ts 09448c24d1 webpack 4 hete

README.md

vue-project

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