This is a
playground to test code. It runs a full
Node.js environment and already has all of
npm’s 400,000 packages pre-installed, including
@growthops/generator-kh-drupal-theme with all
npm packages installed. Try it out:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
Generates custom Webpack-based themes for Drupal 8
npm install -g yo npm install -g @growthops/generator-kh-drupal-theme
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
Finally start your webpack dev server
MIT © Trimantium Growth Ops