创建一个vue项目的流程:
1、安装node,版本号必须是3.0.0以上
2、python 2.7.*
3、安装淘宝镜像:npm install -g cnpm --registry=https://registry.npm.taobao.org
4、cnpm i cooking-cli -g //npm install -g vue-cli
5、 cooking create XXXX(项目名)
6、cd XXXX(项目名)
7、npm i
8、cooking watch -p
9、npm install vue-router --save
10、 npm i vuex --save
11、npm install animate.css --save
12、npm install vue-axios --save
13、npm install reset.css --save
14、cnpm run dev(开始运行项目)
 
//webpack搭建vue开发环境

相关文章:

  • 2022-12-23
  • 2021-06-04
  • 2021-05-26
  • 2021-09-12
猜你喜欢
  • 2021-05-22
  • 2021-07-27
  • 2021-09-29
  • 2022-01-04
相关资源
相似解决方案