gulp-react-static
Compile react pages to static markup
Last updated a year ago by will-ob .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install gulp-react-static 
SYNC missed versions from official npm registry.

gulp-react-static

Compile es6 react components into static html.

Install

npm install --save-dev gulp gulp-react-static

Usage

const gulp = require('gulp'),
      rename = require('gulp-rename'),
      render = require('gulp-react-static');

gulp.task('default', () => {
  return gulp.src('src/pages')
    .pipe(render())
    .pipe(rename({extname: ".html"}))
    .pipe(gulp.dest);
})

License

MIT © Will O'Brien

Current Tags

  • 1.0.8                                ...           latest (a year ago)

4 Versions

  • 1.0.8                                ...           a year ago
  • 1.0.7                                ...           a year ago
  • 1.0.5                                ...           a year ago
  • 1.0.4                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 4
Dependencies (12)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |