Skip to content

StoraH/generator-drupal-component

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

generator-drupal-component

Yeoman generator for Drupal components. This is NOT for generating standard Drupal modules.

Install Yeoman:

npm install -g yo

Install the drupal-component generator:

npm install -g StoraH/generator-drupal-component

Generate component

yo drupal-component
  • Name
  • js file (yes/no)
  • scss fil (yes/no)
  • twig (yes/no)
  • drupal module? (yes/no)
  • ctools content type? (yes/no)
  • views style plugin? (yes/no)

Generate component parts

yo drupal-component:js

yo drupal-component:scss

yo drupal-component:twig

yo drupal-component:module

yo drupal-component:ctools-content_type

yo drupal-component:views_style_plugin

About

Yeoman generator for Drupal components

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published