gulp-react-templates
v1.0.0
Published
Gulp plugin for react-templates - Light weight templates for react -> write html get valid react code
Downloads
73
Readme
This version simply updates the react-templates version so that it works with react 15.x
gulp-react-templates
Build react-templates
Installation
Install package with NPM and add it to your development dependencies:
npm install --save-dev gulp-react-templates
Usage
var gulp = require('gulp');
var rt = require('gulp-react-templates');
gulp.task('rt', function() {
gulp.src('src/**/*.rt')
.pipe(rt({modules: 'amd'}))
.pipe(gulp.dest('src'));
});
Options
modules
Select modules system (amd|commonjs|es6|typescript|none).
See more here