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
Lint with ESLint
npm run lint
如果没有后端接口,需要先全局安装json-server, 在本地模拟服务启动需要到public下启动(有一个db.json) json-server --watch .\db.json --port 5000