generator-bem-blocks
⚠️ This project deprecated
This project was deprecated since 0.1.2
version. Fork it if you need additional features,
or use hygen for blazing fast components scaffolding.
Installation
npm install -g generator-bem-blocks
Usage
This is really easiest way to generate bem blocks.
yo bem-blocks
You can create multiple blocks.
Block1 Block2 Block3
Basic structure of generated block:
blockName/
├──blockName.markupExtension
└──blockName.styleExtension
Supported extensions
Markup | Style |
---|---|
jsx |
styl |
pug |
css |
pug bem-to |
sass |
html |
scss |
~ | less |
~ | sss |
Also, with jsx
block it creates index.jsx
to more comfortable import.
Stay BEMed!
License
MIT © lamartire