jade-reactify

jade-reactify =============

Browserify Transform for transforming jade templates to react

When creating your browserify bundle, just add this line:

bundle.transform( require( "jade-reactify" ) );

or if you are a command line cowboy, something along the lines of

browserify -t jade-reactify entry.js -o bundle.js
var template = require( "./template.jade" );
template({key: "value"}, document.body );

It will render your template and sets document.body's innerHTML.

Internally it uses jade-react which doesn't fully support jade rendering, like children elements etc. So sometimes it returns [Object object] :(

MIT