- npm install -g pnpm
- pnpm create vite@latest
- 输入项目名
- framework选vue
- variant选Customize with create-vue
- 根据需要选择配置
- 照黄字cd进刚创建的项目目录 install & dev
参考:
https://github.com/vuejs/create-vue
https://cn.vuejs.org/guide/scaling-up/tooling.html#project-scaffolding
参考:
https://github.com/vuejs/create-vue
https://cn.vuejs.org/guide/scaling-up/tooling.html#project-scaffolding