broccoli-pug-render
v2.0.0
Published
Render Pug Templates
Downloads
13
Readme
broccoli-pug-render
A broccoli.js plugin to render Pug templates.
Install
$ npm install --save-dev broccoli-pug-render
Usage
const renderPug = require('broccoli-pug-render');
const pages = new renderPug(['src'], {
basedir: __dirname + '/partials',
localvar: 'value'
});
API
renderPug(tree, [options])
options
See the Pug options.
License
MIT © qm3ster
Credit
Big thanks to Devin Bayer for creating broccoli-jade-render