A simple Yeoman generator using Git submodules to clone over a boilerplate hosted elsewhere on GitHub
A simple Yeoman generator using Git submodules to clone over a boilerplate hosted elsewhere on GitHub.
These are a few things you will want to customize:
git submodule add YOUR-REPO-ON-GITHUB app/templates
You can then test out your generator without pushing to npm using npm install -g
and
yo awesome
(where awesome is the name of your generator).
npm install -g yo
npm install -g generator-boilerplate
yo boilerplate