Ionic 3 basics

Ionic is a mobile framework built on top of AngularJS and Cordova, targeted at building multiplatform mobile apps. It uses the WebView component on iOS and Android to render it's content and implement functionality. The WebView is then wrapped in a native application.


Important concepts

First project

When creating a project, there are a couple of options to choose from : So if you want to create a new project with tabs :

ionic start myApp tabs
cd myApp

Adding a platform :

ionic cordova platform add android

Or :

ionic cordova platform add ios

Running your project in a browser :

ionic serve

Or in the Android emulator :

ionic cordova run android

Or in the iOS emulator :

ionic cordova run ios