Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 441 Bytes

File metadata and controls

21 lines (14 loc) · 441 Bytes

bemhtml-loader

Webpack loader for bemhtml template engine.

Installation

$ npm i bemhtml-loader

Usage

Documentation: Using loaders

var bemhtml = require('bemhtml!./template.bemhtml.js');

bemhtml.apply({block: 'header', content: 'It\'s a header!'});
// => returns html