mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
28 lines
445 B
TypeScript
28 lines
445 B
TypeScript
import { NgModule, ModuleWithProviders } from '@angular/core';
|
|
|
|
import { IonicApp } from './app-root';
|
|
|
|
import { NavModule } from '../nav/nav.module';
|
|
|
|
@NgModule({
|
|
imports: [
|
|
NavModule
|
|
],
|
|
declarations: [
|
|
IonicApp
|
|
],
|
|
exports: [
|
|
IonicApp
|
|
],
|
|
entryComponents: [
|
|
IonicApp
|
|
]
|
|
})
|
|
export class AppModule {
|
|
public static forRoot(): ModuleWithProviders {
|
|
return {
|
|
ngModule: AppModule, providers: []
|
|
};
|
|
}
|
|
}
|