Yeoman組成:yo、grunt、bower。npm
安裝準備工做:Node.js、Ruby、Compass
grunt
安裝:spa
sudo npm install -g yo grunt-cli bowercode
1
|
npm
install
-g generator-angular
|
使用server
yo angular
ci
npm install
bower
bower installunderscore
bower install underscoregenerator
grunt編譯
grunt server
不用手工刷新頁面!
編譯生成項目::執行 grunt-> dist
http://www.infoq.com/cn/news/2013/01/yeoman