compile html to react syntax
npm install gulp-html2reactInspired by gulp-react
##Motivation
I don't like write html in js file,so i build this gulp.
``sh`
$ npm install --save-dev gulp-html2react
`js
var gulp = require('gulp');
var html2react = require('gulp-html2react');
gulp.task('react', function() {
return gulp.src('app/javascripts/templates/*.html')
//compile html to JavaScript in React syntax.
.pipe(html2react())
.pipe(gulp.dest('temp/javascripts/templates'));
});
`
##Custom Element
If you use custom element in html:
`html`
You Must add require path about the custom element component:
```
##License
MIT © ocowchun