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

/broccoli-pug-render/

    Package Sidebar

    Install

    npm i broccoli-pug-render

    Weekly Downloads

    0

    Version

    2.0.0

    License

    MIT

    Last publish

    Collaborators

    • qm3ster