How to automate layout with bem?

0 like 0 dislike
22 views
Good afternoon, prompt please, is it possible to generate skeleton pattern on the principle of bem?
I use phpstorm, there is a plugin for emmet that creates from a set of attributes a skeleton
nav>ul>li
is there something similar to be able to write the parent class, and the plugin continue to be collected correctly classes from child elements by bem or other methodology??
asked by | 22 views

3 Answers

0 like 0 dislike
all the normal solutions to no
there are like crutches bemmet, bemto
and of course the tools of Yandex which are all sharpened.
answered by
0 like 0 dislike
You html to generate?
Don't know about other implementations, but in phpStorm emmet is able to deploy such designs:

.block__elm_mod -> 


In combination with the other features emmet can be quite briefly to describe a component and deploy it in the html tab.
answered by
0 like 0 dislike
If you use a pug, that is a good mixin bemto
answered by

Related questions

0 like 0 dislike
1 answer
0 like 0 dislike
2 answers
0 like 0 dislike
1 answer
0 like 0 dislike
2 answers
24,509 questions
45,932 answers
0 comments
345 users