Make sure you have yo installed:
npm install -g yo
Install the generator:
npm install -g generator-simpleapp
grunt build Builds all content of
app/ directory into
dist/. Compiles coffee and sass files,
concatenates all scripts and stylesheets including third-party dependencies that are managed via
This will create single
application.css files with all scripts and styles defined in
head section of index.html file:
grunt serve Runs local web-server on
9000 port, compiles all changes in coffee and sass files on the fly
and makes development process easy by running livereload automatically in the browser on file save. Also includes
css autoprefixer which automatically handles vendor prefixes.
grunt deploy Runs build task and pushes built files into
gh-pages branch on GitHub.
By default, if you're just calling
grunt grunt runs
Yeoman has a heart of gold. He's a person with feelings and opinions, but he's very easy to work with. If you think he's too opinionated, he can be easily convinced.