Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    fly-jadepublic

    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

    install

    npm i fly-jade

    Downloadsweekly downloads

    11

    version

    1.0.1

    license

    MIT

    repository

    githubgithub

    last publish

    collaborators

    • avatar