html5 js os build
c:\nodejs>npm install -g grunt-cli
C:\Users\police\AppData\Roaming\npm\grunt -> C:\Users\police\AppData\Roaming\npm\node_modules\grunt-cli\bin\grunt
C:\Users\police\AppData\Roaming\npm
`-- grunt-cli@1.2.0
+-- findup-sync@0.3.0
| `-- glob@5.0.15
| +-- inflight@1.0.5
| | `-- wrappy@1.0.2
| +-- inherits@2.0.3
| +-- minimatch@3.0.3
| | `-- brace-expansion@1.1.6
| | +-- balanced-match@0.4.2
| | `-- concat-map@0.0.1
| +-- once@1.4.0
| `-- path-is-absolute@1.0.0
+-- grunt-known-options@1.1.0
+-- nopt@3.0.6
| `-- abbrev@1.0.9
`-- resolve@1.1.7
2、WebStorm-2016.2.3 https://download.jetbrains.8686c.com/webstorm/WebStorm-2016.2.3.exe
注册的时候,选择License server http://idea.imsxm.com/
3、npm install grunt-contrib-sass grunt-contrib-uglify grunt-contrib-watch --save-dev
npm install grunt-contrib-clean grunt-contrib-concat grunt-contrib-copy grunt-contrib-jshint grunt-contrib-requirejs grunt-ftp-deploy grunt-jsduck grunt-rename grunt-string-replace grunt-strip js-obfuscator --save-dev
http://www.cnblogs.com/unofficial/p/3895215.html
http://lawrencenaman.com/blog/sass-compass-windows/
grunt build
done!
下一篇: php接口
推荐阅读
-
基于vue-cli npm run build之后vendor.js文件过大的解决方法
-
Node.js操作系统OS模块用法分析
-
详解HTML5将footer置于页面最底部的方法(CSS+JS)
-
HTML5视频播放插件 video.js介绍
-
Chart.js 轻量级HTML5图表绘制工具库(知识整理)
-
HTML5 audio标签使用js进行播放控制实例
-
HTML5/CSS3(PrefixFree.js) 3D文字特效
-
基于html5 localStorage的购物车JS脚本
-
js HTML5 canvas绘制图片的方法
-
vue-cli的build的文件夹下没有dev-server.js文件配置mock数据的方法