broccoli-pug-render

2.0.0 • Public • Published

broccoli-pug-render

Build Status npm version npm downloads Dependency Status

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

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
2.0.00latest

Version History

VersionDownloads (Last 7 Days)Published
2.0.00
1.1.10
1.1.00
1.0.40
1.0.30
1.0.20

Package Sidebar

Install

npm i broccoli-pug-render

Weekly Downloads

0

Version

2.0.0

License

MIT

Last publish

Collaborators

  • qm3ster