0.0.2 • Published 7 years ago
generator-react-reduxable v0.0.2
generator-react-reduxable
Generate application and parts with React + Redux based on modules.
Installation
First, install Yeoman and generator-react-reduxable using npm (we assume you have pre-installed node.js).
npm install -g yo
npm install -g generator-react-reduxable
Second, generate config and setup if you want:
yo react-reduxable:config
How to use (use it in project root)
Generate React + Redux application:
yo react-reduxable
Generate component:
yo react-reduxable:component [--stateless, [--path, [--module]]]
Generate container:
yo react-reduxable:component [--path, [--module]]
Configuration
You can set configuration in .yo-rc.json
(generate it if isn't exists).
generator-react-reduxable
--paths # where you
--modules # (root relative)
--components # dumb components (module relative)
--containers # (module relative)
--store # (module relative)
--defaultModule # default module for generated elements