grunt-html2jsx
Converts HTML to JSX for use with React.
Install
$ npm install --save-dev grunt-htmltojsx
Usage
grunt; // npm install --save-dev load-grunt-tasks grunt; grunt;
Options:
createClass: true outputClassName: 'AwesomeComponent'
Sample:
Hello
Get converted to:
var NewComponent = React;
License
MIT © Hemanth.HM