mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
21 lines
384 B
TypeScript
21 lines
384 B
TypeScript
import { NgModule } from '@angular/core';
|
|
import { IonicApp, IonicModule } from 'ionic-angular';
|
|
import { ApiDemoApp, Page1, Page2 } from './app.component';
|
|
|
|
@NgModule({
|
|
declarations: [
|
|
ApiDemoApp,
|
|
Page1,
|
|
Page2
|
|
],
|
|
imports: [
|
|
IonicModule.forRoot(ApiDemoApp)
|
|
],
|
|
bootstrap: [IonicApp],
|
|
entryComponents: [
|
|
Page1,
|
|
Page2
|
|
]
|
|
})
|
|
export class AppModule {}
|