Create and Run React and Redux application instantly
npm install -g web-instant
Assuming the name of your Web App is
web-instant create sample-app
or you can use
wi create <any name your want>
The creation time will take around 5 minutes long to complete since it will run async
npm install for you.
After creation, run
cd sample-app to navigation to the newly created project.
Once a project is successfully generated, you can just simply execute:
npm start will also generate a build for you into
However, you can also build it by your own by executing:
npm run build
./public will be production ready.
Generator command looks like this:
wi generate <type> <feature> <name>
wi generate component comment commentBox // ./src/comment/components/CommentBox.jsx
You may also want to take a look for the template: