Advertisement
Guest User

Untitled

a guest
Jul 23rd, 2018
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import { NgModule, ErrorHandler } from '@angular/core';
  2. import { BrowserModule } from '@angular/platform-browser';
  3. import { IonicApp, IonicModule, IonicErrorHandler } from 'ionic-angular';
  4. import { MyApp } from './app.component';
  5. import { Welcome } from '../pages/welcome/welcome';
  6. import { Login } from '../pages/login/login';
  7. import { Signup } from '../pages/signup/signup';
  8. import { AboutPage } from '../pages/about/about';
  9. import { ContactPage } from '../pages/contact/contact';
  10. import { HomePage } from '../pages/home/home';
  11. import { TabsPage } from '../pages/tabs/tabs';
  12.  
  13. import { StatusBar } from '@ionic-native/status-bar';
  14. import { SplashScreen } from '@ionic-native/splash-screen';
  15.  
  16.  
  17.  
  18. @NgModule({
  19.   declarations: [
  20.     MyApp,
  21.     AboutPage,
  22.     ContactPage,
  23.     HomePage,
  24.     Welcome,
  25.     Login,
  26.     Signup,
  27.     TabsPage
  28.   ],
  29.   imports: [
  30.     BrowserModule,
  31.     IonicModule.forRoot(MyApp)
  32.   ],
  33.   bootstrap: [IonicApp],
  34.   entryComponents: [
  35.     MyApp,
  36.     AboutPage,
  37.     ContactPage,
  38.     HomePage,
  39.     Welcome,
  40.     Login,
  41.     Signup,
  42.     TabsPage
  43.   ],
  44.   providers: [
  45.     StatusBar,
  46.     SplashScreen,
  47.     {provide: ErrorHandler, useClass: IonicErrorHandler}
  48.   ]
  49. })
  50. export class AppModule {}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement