README
generator-hanbs-wp
A Yeoman generator for scaffolding HanBootStrap into Wordpress sites.
How to use
- Install with NPM:
npm install -g generator-hanbs-wp
- Open a console at the the root of your project
- Enter
yo hanbs-wp
and follow the prompts to scaffold your project
As of version 0.1.0, your initial settings will be saved to hanbs.json
for future use.
Scaffolding controllers
- Open a console at the root of your project
- Enter
yo hanbs-wp:controller "myController"
- If you have a saved hanbs.json file, your settings will be loaded. Otherwise you'll be prompted for the file path and namespace.
Enjoy!