generator-firedux
ngRx/store generator for Ionic2 proyects
Installation
First, install Yeoman and generator-firedux using npm (we assume you have pre-installed node.js).
npm install -g yonpm install -g generator-firedux
Then in your ./ionic-app/src generate your new store (ngrx/store + AngularFire + Ionic2):
yo firedux newstore
Import your new store in app.module.ts
...imports: ...//others effects or imports EffectsModule StoreModule ...providers : ...//others providers or services NewstoreService NewstoreActions
Add Newstore to services/app-state.ts
...;...
Getting To Know Yeoman
- Yeoman has a heart of gold.
- Yeoman is a person with feelings and opinions, but is very easy to work with.
- Yeoman can be too opinionated at times but is easily convinced not to be.
- Feel free to learn more about Yeoman.
License
MIT © Marcos Gutierrez