We are going to create a custom generator that will scaffold a single-page web application. The project will include jQuery, Bootstrap, and Handlebars that will be managed via Bower. The project is also going to use Grunt, which will run and watch files for changes, and start a Connect LiveReload server for development.
First, we need to install the generator to create our generator. Open the terminal and execute the following command:
$ npm install -g generator-generator
The current version used is 0.4.4.
This command will install the Yeoman
generator-generator globally, so you can use the
yo generator command from within any directory.
To create a new Yeoman ...