gulp-bem-css
gulp-bem-css - Gulp plug-in for automatically creating folders and stylesheet files for bem-blocks from html-code
Install
$ npm install --save-dev gulp-bem-css
Usage
const gulp = ;const gulpBemCss = ; gulp;
Default this plugin created directories and stylesheet files in 'src/blocks' directory of your project.
Configure
gulp;
How it works
This plugin parse html file and automatically created file structure in accordance with the BEM-methodology of naming CSS classes
example.html
Document
Plugin generate this file structure
src/
blocks/
block/
block.css
block.css