码迷,mamicode.com
首页 > Web开发 > 详细

node.js安装及grunt插件,如何进行脚本压缩

时间:2015-09-10 19:04:20      阅读:177      评论:0      收藏:0      [点我收藏+]

标签:

技术分享http://gruntjs.com/plugins
技术分享http://gruntjs.com/getting-started
技术分享http://gruntjs.com/configuring-tasks#globbing-patterns
 
 
1.安装node.js
2.cmd   敲命令行: 查看node版本 node -v      ,查看node插件管理器  npm -v   查看
3.百度  cnpm 淘宝   ,安装nodejs插件管理器$ npm install -g cnpm --registry=https://registry.npm.taobao.org
4.查看npm版本 cnpm-v
5.cmd下载 grunt 插件 cnpm install -g grunt-cli
cnpm install -g grunt

6.完成


打包工具;http://files.cnblogs.com/files/kingCpp/grunt.zip

node.js安装及grunt插件,如何进行脚本压缩

标签:

原文地址:http://www.cnblogs.com/kingCpp/p/4798687.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!