Yeoman Get Started
Yeoman
Yeoman is he web’s scaffolding tool for modern webapps
- yo
- grunt
- bower
These tools are helper to create web app frame.
Especially frontend, these are helpful.
Get started
Install
npm install -g yo
There are a lot of generator. So, I picked up one of them(angular), and try
Install angular generator
before it, if you need other dependencies please check generator-angular
npm install -g grunt-cli bower yo generator-karma generator-angular
gem install compass
npm install -g generator-angular
Let’s start
Create app
yo angular firstapp
firstapp is app name
Start app
grunt serve
Compile and start internal server.
Open default browser and open localhost:9000/#/
Also, we can access http://localhost:9000/#/about
The output is “dist”.
There are compressed javascript and style sheets.