generator-easy-react
v0.0.5
Published
Another Yeoman generator for React
Downloads
4
Readme
generator-easy-react
Usage
Install generator-easy-react
npm install -g generator-easy-react
Make a new directory, and cd into it:
mkdir new_react_project && cd $_
Run yo easy-react
yo easy-react
Run gulp
for building and preview
###Directory ####app/javascripts/templates for your jsx ####app/javascripts/components for your component
###Custom Element in html If you use custom element in html:
<div>
<HelloMessage name="John" />
</div>
You Must add require path about the custom element component:
<!-- var HelloMessage = require('.././components/hello_message'); -->
<div>
<HelloMessage name="John" />
</div>
License
MIT