Git

作者: 久伴你_e537 | 来源:发表于2018-10-23 08:36 被阅读0次
  1. 下载cnpm
npm install -g cnpm --registry=https://registry.npm.taobao.org
//下载cnmp下载速度cnpm=npm

2.创建项目

//安装webpack
npm install webpack -g
//安装vue-cli脚手架
cnpm install vue-cli -g
//快速搭建项目
vue init webpack(模板名称) domel(项目名称)
//下载依赖    检查有没有node-modules文件夹,如果有,直接开服务器,如果没有,
cnpm install
//开服务
npm run dev

压缩文件
cnpm run build

3.将项目上传coding

git init
git add  .
git commit -m "first commit"
git push -u origin master

相关文章

网友评论

      本文标题:Git

      本文链接:https://www.haomeiwen.com/subject/fnkozftx.html