This generator creates a simple, frontend oriented, barebone Magento2 module
Navigate into app/code/ and run yo magetwo-code
or yo
I made the generator with CodeKit in mind, so
.scss
should be compiled to.css
example.source.js
should be compiled/compressed toexample.js
(or whatever name you like)
First, install Yeoman and generator-magetwo-code using npm (we assume you have pre-installed node.js).
npm install -g yo
npm install -g generator-magetwo-code
Then generate your new project:
yo magetwo-code
or simply write
yo
and select Magetwo Code
You can update by running yo
and then selecting Update your generators
- Add widget support
- Add support for creating system config menus
- Yeoman has a heart of gold.
- Yeoman is a person with feelings and opinions, but is very easy to work with.
- Yeoman can be too opinionated at times but is easily convinced not to be.
- Feel free to learn more about Yeoman.
Apache-2.0 © Alexandru (proatwork) Bangala