JosefJezek
1/25/2014 - 1:36 AM

Yeoman

Yeoman

Yeoman

Install

sudo npm install -g yo
echo "export NODE_PATH=$NODE_PATH:/usr/local/lib/node_modules" >> ~/.bashrc && source ~/.bashrc
yo doctor

Generators

Mobile

generator-gulp-webapp

  • Install: sudo npm install -g generator-gulp-webapp
  • Run: yo gulp-webapp
  • Run gulp for building and gulp watch for preview
  • bower install --save bootstrap lesshat jquery#1.11.0 modernizr font-awesome
  • npm install --save-dev gulp-less gulp-recess

generator-webapp

  • https://github.com/yeoman/generator-webapp
  • Install: sudo npm install -g generator-webapp
  • Run: yo webapp
  • Run grunt for building and grunt serve for preview
  • bower install --save font-awesome
  • grunt bower-install