郑柏铃 8ab83f9df6 学习 1 vuosi sitten
..
.vscode 8ab83f9df6 学习 1 vuosi sitten
public 8ab83f9df6 学习 1 vuosi sitten
src 8ab83f9df6 学习 1 vuosi sitten
.env.development 8ab83f9df6 学习 1 vuosi sitten
.env.production 8ab83f9df6 学习 1 vuosi sitten
.gitignore 8ab83f9df6 学习 1 vuosi sitten
README.md 8ab83f9df6 学习 1 vuosi sitten
auto-imports.d.ts 8ab83f9df6 学习 1 vuosi sitten
components.d.ts 8ab83f9df6 学习 1 vuosi sitten
env.d.ts 8ab83f9df6 学习 1 vuosi sitten
index.html 8ab83f9df6 学习 1 vuosi sitten
package-lock.json 8ab83f9df6 学习 1 vuosi sitten
package.json 8ab83f9df6 学习 1 vuosi sitten
tsconfig.app.json 8ab83f9df6 学习 1 vuosi sitten
tsconfig.json 8ab83f9df6 学习 1 vuosi sitten
tsconfig.node.json 8ab83f9df6 学习 1 vuosi sitten
vite.config.ts 8ab83f9df6 学习 1 vuosi sitten

README.md

mobile-shop

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