This generator is based on Yeoman. It can generate a boilerplate for a CastleCSS project. It gives more flexibility than the castlecss-boilerplate because the generator lets you pick which components of castlecss you want to use.
To use this generator, you must have NPM and Yeoman installed: npm install yo -g
npm install generator-castlecss -g
yo castlecss
- Follow the prompt
Any questions a user will be prompted for can be overridden with CLI options, for example:
yo castlecss --projectname example
To use the generator locally, use npm install <local-path-to-repo>
in the root of the repo, and then
use the yo
command to select the generator.