Skip to content

express-bem/bemhtml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

express-bem-bemhtml

Build Status Dependency Status

bemhtml.js engine (plugin) for express-bem

Why

To use .bemhtml.js techs to render pages.

Installation

$ npm i express-bem-bemhtml --save

Usage

var Express = require('express');
var ExpressBem = require('express-bem');

var app = Express();
var bem = ExpressBem({root: './path-to/bem-project'}).bindTo(app);

// simple
bem.usePlugin('express-bem-bemhtml');

License

MIT License