jade-builder

0.1.0 • Public • Published

jade-builder

Jade middleware to use with Component's builder.js

What it does

This will automatically register the Jade client side runtime and can be required with require('name/jade.runtime') where name is the name of the root component being built. The jade variable will not be global.

Any Jade templates will automatically be compiled and registered so that they can be required just like any script. The jade.runtime script will be required automatically for each jade template registered.

Other

A lot of the code is from the example here

License

MIT

/jade-builder/

    Package Sidebar

    Install

    npm i jade-builder

    Weekly Downloads

    3

    Version

    0.1.0

    License

    none

    Last publish

    Collaborators

    • nickjackson