Yaavi 831e440866 compatibility 1 year ago
..
.vscode 11b47877a3 add docs 1 year ago
public 505ec7c328 es demo 1 year ago
src 831e440866 compatibility 1 year ago
.eslintrc.cjs 11b47877a3 add docs 1 year ago
.gitignore 11b47877a3 add docs 1 year ago
.prettierrc.json 11b47877a3 add docs 1 year ago
README.md 11b47877a3 add docs 1 year ago
env.d.ts 11b47877a3 add docs 1 year ago
index.html 5043614111 update docs 1 year ago
package-lock.json fa4aba5bfe update docs 1 year ago
package.json fa4aba5bfe update docs 1 year ago
tsconfig.app.json 11b47877a3 add docs 1 year ago
tsconfig.json 11b47877a3 add docs 1 year ago
tsconfig.node.json 11b47877a3 add docs 1 year ago
vite.config.ts 11b47877a3 add docs 1 year ago

README.md

demo

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

Lint with ESLint

npm run lint