generator-kh-drupal-theme
Generates custom Webpack-based themes for Drupal 8
Installation
First, install Yeoman and generator-kh-drupal-theme using npm (we assume you have pre-installed node.js).
npm install -g yo
npm install -g @growthops/generator-kh-drupal-theme
Usage
Say you want to generate a theme called "My Custom Theme"
mkdir -p custom/my_custom_theme
cd custom/my_custom_theme
yo @growthops/kh-drupal-theme
Then at the prompts
- Enter your theme name (e.g. My Custom Theme)
- Enter your local drupal server's URI (e.g. http://my-awesome-site.dev.dd:8083)
Finally start your webpack dev server
npm start
License
MIT © Trimantium Growth Ops