src/app/app.component.ts
templateUrl | app.component.html |
constructor()
|
Defined in src/app/app.component.ts:9
|
rootPage |
rootPage: |
Defined in src/app/app.component.ts:9
|
import { Component } from '@angular/core';
declare const ENV: any;
@Component({
templateUrl: 'app.component.html'
})
export class AppComponent {
rootPage: any;
constructor() {
console.log('isProduction : ' + ENV.PRODUCTION);
}
}
<ion-nav [root]="rootPage"></ion-nav>