先行下載安裝Ruby和SASSnode
再下載並安裝node.js,已經集成了NPMnpm
命令行查看是否安裝成功json
node -v
npm -v
命令行安裝gruntgrunt
npm install -g grunt-cli
拷貝Gruntfile.js和package.json文件命令行
npm install
查看用blog
grunt
另外:class
grunt-contrib-concat壓縮方式有四種nested, compact, compressed, expandedcli