Answer the question
In order to leave comments, you need to log in
How to quickly create a BEM block?
I use gulp and bam, but I have to manually create and include folders for blocks. What is the solution to quickly create a block with css and js file and a folder for images.
It would also be nice if you describe how you can create ready-made blocks and connect with a command or tab like a snippet
Answer the question
In order to leave comments, you need to log in
I use gulp and bam, but I have to manually create and connect folders for blocks. What is the solution to quickly create a block with css and js file and a folder for images.
npm run add block
, and you can also automatically create a block depending on the HTML markup. You can look at this assembly and pull out the necessary functionality for yourself.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question