Skip to content

express-bem/bemtree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

express-bem-bemtree

Build Status Dependency Status

bemtree.js engine (plugin) for express-bem

Why

To use .bemtree.js techs to render pages.

Installation

$ npm i express-bem-bemtree --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-bemtree');

License

MIT License