Answer the question
In order to leave comments, you need to log in
How to create a block using the BEM methodology?
Tell me how to create your "first" BEM block?
he (BEM) feels like he's mocking...
1 I install everything fine, there are no problems
2 and then everything starts
joxi.ru/vAW4y4Ru8qJPrW
folders everything is in place everything by default ..
joxi.ru/l2Z1e1nTqEbomJ
Tell me
, you need some other make configuration? to create a block/element
Thanks in advance for your answers
Answer the question
In order to leave comments, you need to log in
The block must be at the override level. For example: app.blocks.
It is more convenient for a block to make its own folder (and store all blocks in its own folder): app.blocks/hello-world
The block must have some kind of implementation. For example, css: app.blocks/hello-world/hello-world.css
Back to the question:
mkdir ./app.blocks/hello-world/ -p
touch ./app.blocks/hello-world/hello-world.css
npm i bem-tools
bem create level app.blocks
bem create block -l app.blocks hello-world
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question