| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- import { NgModule, ErrorHandler } from '@angular/core';
- import { BrowserModule } from '@angular/platform-browser';
- 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';
-
- import { StatusBar } from '@ionic-native/status-bar';
- import { SplashScreen } from '@ionic-native/splash-screen';
-
- import { BeerPageModule } from '../pages/beer/beer.module';
- import { HttpClientModule } from '@angular/common/http';
-
- @NgModule({
- declarations: [
- MyApp,
- AboutPage,
- ContactPage,
- HomePage,
- TabsPage
- ],
- imports: [
- BrowserModule,
- HttpClientModule,
- IonicModule.forRoot(MyApp),
- BeerPageModule
- ],
- bootstrap: [IonicApp],
- entryComponents: [
- MyApp,
- AboutPage,
- ContactPage,
- HomePage,
- TabsPage
- ],
- providers: [
- StatusBar,
- SplashScreen,
- {provide: ErrorHandler, useClass: IonicErrorHandler}
- ]
- })
- export class AppModule {}
|