April 2017
Beginner to intermediate
378 pages
7h 57m
English
To get started, we scaffold a new project. Run the following:
ionic start -a "Example 8" -i app.example.eight example8 blank --v2
Run the Ionic app using the ionic serve command and you should see the home page of the blank template.
Navigation in Ionic does not require URLs; instead, pages are pushed and popped from the navigation controller's page stack. This approach is very much in line with how one would achieve navigation in a native mobile app, when compared to browser-based navigation. You can, however, deeplink pages with URLs, but that does not define the navigation.
To understand basic navigation, we open the src/app/app.html file and we should find the template as follows:
<ion-nav [root]="rootPage"></ion-nav> ...
Read now
Unlock full access