Please enable / Bitte aktiviere JavaScript!
Veuillez activer / Por favor activa el Javascript![ ? ]
How to automate layout with bem? - bug-code.com Q&A

How to automate layout with bem?

0 like 0 dislike
27 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 | 27 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
Welcome to Bug-code Q&A, where you can ask questions and receive answers from other members of the community.

24.8k questions

46.2k answers

0 comments

12.3k users

24,788 questions
46,220 answers
0 comments
12,337 users