vue-cli脚手架布置
1.nodejs 下载安装 node自带npm
2.node -v 检查 npm install cnpm -g --registry=https://registry.npm.taobao.org 可用淘宝镜像cnpm 之后的npm换成cnpm
3.npm install -g vue-cli
4.vue init webpack xxx 创建项目xxx
5.cd xxx npm install cnpm install 回车,创建依赖
6.npm run dev 运行
7.localhost:8080 浏览器查看
8.ctrl +c 停止运行
9.npm run build 生成dist 上线文件
10.将dist 文件上线
2.node -v 检查 npm install cnpm -g --registry=https://registry.npm.taobao.org 可用淘宝镜像cnpm 之后的npm换成cnpm
3.npm install -g vue-cli
4.vue init webpack xxx 创建项目xxx
5.cd xxx npm install cnpm install 回车,创建依赖
6.npm run dev 运行
7.localhost:8080 浏览器查看
8.ctrl +c 停止运行
9.npm run build 生成dist 上线文件
10.将dist 文件上线



浙公网安备 33010602011771号