zheng 0d5b278f37 vue3 1 周之前
..
public 0d5b278f37 vue3 1 周之前
src 0d5b278f37 vue3 1 周之前
.gitignore 0d5b278f37 vue3 1 周之前
README.md 0d5b278f37 vue3 1 周之前
env.d.ts 0d5b278f37 vue3 1 周之前
index.html 0d5b278f37 vue3 1 周之前
package.json 0d5b278f37 vue3 1 周之前
tsconfig.app.json 0d5b278f37 vue3 1 周之前
tsconfig.json 0d5b278f37 vue3 1 周之前
tsconfig.node.json 0d5b278f37 vue3 1 周之前
vite.config.ts 0d5b278f37 vue3 1 周之前

README.md

project

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