mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
26 lines
483 B
TypeScript
26 lines
483 B
TypeScript
import { Component, NgModule, ViewEncapsulation } from '@angular/core';
|
|
import { IonicApp, IonicModule } from 'ionic-angular';
|
|
|
|
@Component({
|
|
template: '<div>johnny utah</div>',
|
|
})
|
|
export class TabPage {}
|
|
|
|
|
|
@Component({
|
|
templateUrl: 'page.html',
|
|
styleUrls: ['style.css'],
|
|
encapsulation: ViewEncapsulation.None
|
|
})
|
|
export class ApiDemoPage {
|
|
root = TabPage;
|
|
}
|
|
|
|
|
|
@Component({
|
|
template: '<ion-nav [root]="root"></ion-nav>'
|
|
})
|
|
export class ApiDemoApp {
|
|
root = ApiDemoPage;
|
|
}
|