Skip to content

duncanbeevers/gulp-jade-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Stars

Watchers

Forks

Packages

No packages published