Skip to content

ithrforu/gulp-html2bemjson

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

gulp-html2bemjson

Compile html to bemjson with gulp and html2bemjson plugin.

Usage

Install

$ npm install gulp-html2bemjson --save-dev 

Examples

import gulp from 'gulp';
import html2bemjson from 'gulp-html2bemjson';

export default () => {
  return gulp.src('src/pages/index/index.html')
    .pipe(html2bemjson())
    .pipe(gulp.dest('src/pages'))
};

Compile results example

About

Compile html files to bemjson.js with gulp-html2bemjson plugin

Resources

Stars

Watchers

Forks