2.0.0 • Published 10 months ago
generator-leggo-component-16 v2.0.0
README
Updated Yeoman generator for creating WP self contained components
Self contained component
A component is a self-contained building-block for containing it's PHP template, PHP functions, scripts, and styles.
ExampleComponent/\
├── ExampleComponentFunctions.php\ ├── ExampleComponent.php\ ├── ExampleComponent.scss\ ├── ExampleComponent.js\ ├── ExampleComponent.md\
Installation
$ npm install -g generator-leggo-component-16
$ yo leggo-component
\
Initializing...
\
? Enter a name for the new component (i.e.: myNewComponent): myNewComponent
Created using these Yeoman guides
https://medium.com/@vallejos/yeoman-guide-adea4d6ea1e3 & https://yeoman.io/authoring/
NPM Source
https://www.npmjs.com/package/generator-leggo-component-16
Bitbucket Repository
https://bitbucket.org/pixeledeggs/generator-leggo-component-16/src/master/