31 lines
744 B
TypeScript
31 lines
744 B
TypeScript
|
import { NgModule, ErrorHandler } from '@angular/core';
|
||
|
import { IonicApp, IonicModule, IonicErrorHandler } from 'ionic-angular';
|
||
|
import { MyApp } from './app.component';
|
||
|
import { AboutPage } from '../pages/about/about';
|
||
|
import { ContactPage } from '../pages/contact/contact';
|
||
|
import { HomePage } from '../pages/home/home';
|
||
|
import { TabsPage } from '../pages/tabs/tabs';
|
||
|
|
||
|
@NgModule({
|
||
|
declarations: [
|
||
|
MyApp,
|
||
|
AboutPage,
|
||
|
ContactPage,
|
||
|
HomePage,
|
||
|
TabsPage
|
||
|
],
|
||
|
imports: [
|
||
|
IonicModule.forRoot(MyApp)
|
||
|
],
|
||
|
bootstrap: [IonicApp],
|
||
|
entryComponents: [
|
||
|
MyApp,
|
||
|
AboutPage,
|
||
|
ContactPage,
|
||
|
HomePage,
|
||
|
TabsPage
|
||
|
],
|
||
|
providers: [{provide: ErrorHandler, useClass: IonicErrorHandler}]
|
||
|
})
|
||
|
export class AppModule {}
|