V
V
vis0r2016-09-14 22:22:23
css
vis0r, 2016-09-14 22:22:23

How do you assemble BEM layout?

Initial data: It is
necessary to organize a convenient working environment for layout with blocks (BEM ideology) based on Gulp.
The file structure is the same as in the original: each block is a separate folder with the name of the block, the files are divided by technologies:
ZrJejyNto3xVAj.jpg
Processors: jade (pug) for html, sass (or postcss-nested) for css.
The main question for those who make layout with such an environment, what plugins for gulp do you collect everything from this folder structure into ready-made html-css?
Do you take into account such a moment as an incremental build (when building a project, only those files that are affected by the changes are modified and the entire project is not rebuilt)?
The ideal would be to take a look at your environment (gulpfile.js, package.json, etc.) or the examples you used as the basis for your environment.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
dhat, 2016-09-14
@dhat

I made based on this webinar, and a couple more from the same guy - https://ru.bem.info/forum/-685/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question