1. install node.js: this will install npm as well.
2. install grunt-cli: npm install -g grunt-cli
3. in folder: npm install bower-install grunt
work on ui
原文:http://www.cnblogs.com/goldengallo/p/6442189.html