gulp-jsx2example
Compile JSX file to HTML (react demo)
Usage
return gulp ;
Options
{
readme: 'README.md', // readme file name, content will be render to index.html
package: 'package.json', // package file name, access repository information
cwd: process.cwd()
}
Example
You can reference this repository gulpfile.js
The examples
floder published to http://noyobo.com/gulp-jsx2example/
var jsx2example = gulp var webpack = gulp
./
├── README.md
└── examples
├── jsfile.js
└── jsxfile.js
after
./
├── README.md
├── site
│ ├── examples
│ │ ├── common.js
│ │ ├── common.js.map
│ │ ├── jsfile.html
│ │ ├── jsfile.js
│ │ ├── jsfile.js.map
│ │ ├── jsxfile.html
│ │ ├── jsxfile.js
│ │ └── jsxfile.js.map
│ └── index.html
└── examples
├── jsfile.js
└── jsxfile.js
Publish
gh-pages -d site