fly-jade

1.0.1 • Public • Published

Jade plugin for Fly.

npm package

Usage

Check out the documentation to see the available options.

Install

npm i -D fly-jade

Example

exports.jade = function* () {
  yield this
    .source('src/*.jade')
    .jade({base: 'src'})
    .target('dist');
};

Options

  • passing the base directory as base is necessary for jade to resolve relative includes/excludes
  • e.g. if we have a file src/index.jade which refers to a layout file src/layouts/default.jade:
extends layouts/default
 
block content
  .row
    .col-sm-12
      h1 Welcome

License

MIT © sugarshin et al

Package Sidebar

Install

npm i fly-jade

Weekly Downloads

3

Version

1.0.1

License

MIT

Last publish

Collaborators

  • sugarshin