generator-react-redux-simple
v1.0.5
Published
Yeoman generator for a simple React/Redux application using Koa as the server
Readme
generator-react-redux-simple
This is a simple yeoman generator of a single page application using React, Redux, and Koa.
Installation
NodeJS 4+ required
npm install -g yo
npm install -g generator-react-redux-simpleBuild It
mkdir my-application
cd my-application
yo react-redux-simpleRun It
Step 1
The following command will run webpack-dev-server on port 8080 with a proxy to port 8000.
npm startStep 2
Navigate to http://localhost:8080 in your browser.
Compiling
When you are ready to compile and run directly off the server without webpack-dev-server, just do the following.
Step 1
npm run build
node index.jsStep 2
Navigate to http://localhost:8000 in your browser.
License
MIT © Josh Newman
