This is a starter package for Ionic + Angular + Typescript + Redux. It should give a basis for your project if you want to use above frameworks.
- In console, go to the project root folder. Type in
npm install
.
- In console, type in
npm run ionic serve
. - It should launch a new tab in your browser, usually at http://localhost:8100/.
- To add ios, run
npm run ionic platform add ios
. To add android, runnpm run ionic platform add android
. - To run on the emulator, run
npm run ionic emulate
. - To run on the device, run
npm run ionic run ios
ornpm run ionic run android
.
- In console, type in
npm run test
. For unit test example, see app/actions/counter.actions.spec.ts.