###克隆代码 git clone https://github.com/xudao520/newApp.git;
cd newApp;
npm install;
gulp serve;
-
压缩html代码.
gulp minify-html
-
压缩css/js代码.
gulp minify-js-css
-
一键压缩代码(压缩过的文件全部迁移到www同级dist目录下).
gulp build
-
本地跑项目
node serve 在浏览器输入http://localhost:5000/即可