This template should help get you started developing with Vue 3 in Vite.
VSCode + Volar (and disable Vetur) + TypeScript Vue Plugin (Volar).
See Vite Configuration Reference.
npm install
npm run dev
npm run build
请务必保证vite版本为3.1.3
,解决依赖问题
# node -v
v16.17.1
# npm -v
8.15.0
# vite -v
vite/3.1.3