构建Vite项目
兼容性注意
Vite 需要 Node.js 版本 >= 12.0.0
使用 NPM:
# npm 6.x
npm create vite@latest
# options
- project name: <project name>
- select a framework: vue
- select a variant: vue-ts
cd <project name>
npm install
npm run dev
兼容性注意
Vite 需要 Node.js 版本 >= 12.0.0
使用 NPM:
# npm 6.x
npm create vite@latest
# options
- project name: <project name>
- select a framework: vue
- select a variant: vue-ts
cd <project name>
npm install
npm run dev