mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 04:14:21 +08:00
32 lines
492 B
TypeScript
32 lines
492 B
TypeScript
import { Component, NgModule } from '@angular/core';
|
|
import { IonicApp, IonicModule } from '../../../..';
|
|
|
|
|
|
@Component({
|
|
templateUrl: 'main.html'
|
|
})
|
|
export class E2EPage {
|
|
}
|
|
|
|
@Component({
|
|
template: '<ion-nav [root]="rootPage"></ion-nav>'
|
|
})
|
|
export class E2EApp {
|
|
rootPage = E2EPage;
|
|
}
|
|
|
|
@NgModule({
|
|
declarations: [
|
|
E2EApp,
|
|
E2EPage
|
|
],
|
|
imports: [
|
|
IonicModule.forRoot(E2EApp)
|
|
],
|
|
bootstrap: [IonicApp],
|
|
entryComponents: [
|
|
E2EPage
|
|
]
|
|
})
|
|
export class AppModule {}
|