Skip to content

ocowchun/generator-easy-react

Repository files navigation

generator-easy-react

Yeoman generator for build React app eaisly.

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

About

Yeoman generator for React

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published