Tayeb-Ali / ionic3FullApp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Config

You need to replace all values from src/environment/environment.ts with your own values.

Preview

| | | |

| | | |

| | | |

| | | |

| | | |

| | | |

| | | |

| | | |

Workflow

##To run your app in the browser (great for initial development):

  • Install all the npm dependencies npm install

  • Serve the app in your browser ionic serve

##To run on iOS:

  • Add cordova platform ionic cordova platform add ios or cordova platform add ios

** NOTE: ** If you add the platform using the ionic command, then you may experience that nothing is happening for a while (you will just see 'Running command' in your terminal). In the other hand if you add the platform directly with cordova you will be getting verbose updates on what's doing in the background

  • Run it (on your device if connected or in the emulator) ionic cordova run ios --prod

** NOTE: ** We include the --prod flag to force Angular Ahead of Time compilation for the app

##To run on Android:

  • Add cordova platform ionic cordova platform add android or cordova platform add android

** NOTE: ** If you add the platform using the ionic command, then you may experience that nothing is happening for a while (you will just see 'Running command' in your terminal). In the other hand if you add the platform directly with cordova you will be getting verbose updates on what's doing in the background

  • Run it (on your device if connected or in the emulator) ionic cordova run android --prod

** NOTE: ** We include the --prod flag to force Angular Ahead of Time compilation for the app

##Review ionic CHANGELOG when updating ionic-angular version https://github.com/driftyco/ionic/blob/master/CHANGELOG.md

Configs

Cordova (uses config.xml)

cordova platform save Use it when you have a pre-existing project and you want to save all the currently added platforms in your project.

Ionic (uses package.json)

ionic state reset This will remove everything then bring back what you have specified in the package.json file.

ionic state save To store the current platforms and plugins to the package.json

ionic state restore This will add in the appropriate plugins and platforms from the package.json

About


Languages

Language:TypeScript 35.1%Language:SCSS 32.1%Language:HTML 31.3%Language:JavaScript 1.5%