Wondering what’s next for npm?Check out our public roadmap! »

    This package has been deprecated

    Author message:

    This is native with Themeleon 3.0

    themeleon-jade

    1.0.4 • Public • Published

    Themeleon Jade

    Jade mixin for Themeleon.

    Warning: this repository/package is deprecated, template engines will be handled by consolidate.js in Themeleon 3.0.

    Installation

    In your package.json:

    {
      "dependencies": {
        "themeleon": "1.*",
        "themeleon-jade": "1.*"
      }
    }

    Usage

    var themeleon = require('themeleon')();
     
    // Use the Jade mixin
    themeleon.use('jade');
     
    // Or inject your own instance
    themeleon.use('jade', require('jade'));
     
    module.exports = themeleon(__dirname, function (t) {
      var options = {
        pretty: true,
      };
     
      // Compile a Jade view as `index.html` in destination directory
      t.jade('views/index.jade', 'index.html', options);
    });

    Keywords

    none

    Install

    npm i themeleon-jade

    DownloadsWeekly Downloads

    1

    Version

    1.0.4

    License

    Unlicense

    Last publish

    Collaborators

    • avatar
    • avatar