Skip to content

danielmiranda/Ecommerce-Json-Ionic-3-Template

 
 

Repository files navigation

Documentation

https://bit.ly/ion2fullapp-elite-version-documentation

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

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 39.0%
  • CSS 32.2%
  • HTML 27.9%
  • JavaScript 0.9%