郑柏铃 2a9dc89f24 vue3 13 hours ago
..
.vscode 4a48f505ff vue3 18 hours ago
public 4a48f505ff vue3 18 hours ago
src 2a9dc89f24 vue3 13 hours ago
.gitignore 4a48f505ff vue3 18 hours ago
README.md 4a48f505ff vue3 18 hours ago
env.d.ts 4a48f505ff vue3 18 hours ago
index.html 4a48f505ff vue3 18 hours ago
package-lock.json 2a9dc89f24 vue3 13 hours ago
package.json 2a9dc89f24 vue3 13 hours ago
tsconfig.app.json 4a48f505ff vue3 18 hours ago
tsconfig.json 4a48f505ff vue3 18 hours ago
tsconfig.node.json 4a48f505ff vue3 18 hours ago
vite.config.ts 4a48f505ff vue3 18 hours ago

README.md

vue-project3

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