2.0.0 • Published 6 years ago

broccoli-jade v2.0.0

Weekly downloads
5
License
MIT
Repository
github
Last release
6 years ago

Deprecated

The project was renamed to Pug. Use broccoli-pug instead.


broccoli-jade Build Status

Compile Jade templates

Issues with the output should be reported on the Jade issue tracker.

Install

$ npm install --save-dev broccoli-jade

Usage

var jade = require('broccoli-jade');
tree = jade(tree, options);

A note about include paths

Include paths are resolved relative to the root of the tree, not to the Jade file itself. There are however workarounds to this, for example by using broccoli-static-compiler - here's an example.

API

jade(tree, options)

options

See the Jade options.

In addition you can pass in options.data that will be used as locals for your HTML compilation.

License

MIT © Sindre Sorhus

2.0.0

6 years ago

1.1.0

9 years ago

1.0.1

9 years ago

1.0.0

10 years ago

0.2.0

10 years ago

0.1.0

10 years ago