vite + vue3 + elementPlus + scss + router4 + vuex项目模板搭建
vite + vue3 + elementPlus + scss + router4 + vuex项目模板
一、本地项目vite项目搭建
1. 项目搭建(基于模板搭建)
注意:Vite 需要 Node.js 版本 >= 12.0.0
npm init @vitejs/app
以下是上面命令的简约命令
# npm 6.x
npm init @vitejs/app my-vue-app --template vue
# npm 7+, 需要额外的双横线:
npm init @vitejs/ap
原创
2022-02-24 09:59:02 ·
1180 阅读 ·
0 评论