broccoli-pug-render

v2.0.0
Render Pug Templates
broccoli-plugin pug

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

npm i broccoli-pug-render

Metadata

  • MIT
  • >=7.6.0
  • Mihail Malo
  • released 9/17/2017

Downloads

Maintainers