April 2017
Beginner to intermediate
378 pages
7h 57m
English
Now that we have the required API services available, we will be creating the required views to represent that data.
When we scaffold the app, a page named home will be created for us. But since, in our app, everything starts with the authentication, we will first generate a login page. Then we will make that the first page of the app. To generate a new page, run the following:
ionic generate page login
Next, we need to update the page reference in riderr/src/app/app.module.ts. Update the @NgModule as shown:
import { NgModule, ErrorHandler } from '@angular/core'; import { IonicApp, IonicModule, IonicErrorHandler } from 'ionic-angular'; import { MyApp } from './app.component'; import { HomePage } from '../pages/home/home'; ...Read now
Unlock full access