1.查看vue、node、webpack是否安装
2.vue安装
2.1安装cnpm
npm install -g cnpm --registry=http://registry.npm.taobao.org
2.2安装vue
cnpm install -g @vue/cli
3.webpack安装
npm i webpack webpack-cli -g
标签:templates,npm,vue,cli,cnpm,webpack,安装 From: https://www.cnblogs.com/wlei5206/p/16999221.html