Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Compile Jade templates to React.DOM

Uses jade-react to compile templates to React.DOM directives as part of your Gulp build process.

The files are kind of useless on their own, so you'll want to prefix+suffix them to handle exporting the generated expressions.

Usage

var gulp = require('gulp');
var jadeReact = require('gulp-jade-react');

// Build React templates
gulp.task('templates', function () {
  gulp.src(['templates/*.jade'])
    .pipe(jadeReact())
    .pipe(gulp.dest('build'))
});

About

Compile Jade templates into React de-sugared JSX with Gulp

Resources

Packages

No packages published