59 lines
1.5 KiB
TypeScript
59 lines
1.5 KiB
TypeScript
import { NgModule, enableProdMode, ErrorHandler } from '@angular/core';
|
|
import { BrowserModule } from '@angular/platform-browser';
|
|
import { HttpModule } from '@angular/http';
|
|
import { IonicApp, IonicModule, IonicErrorHandler } from 'ionic-angular';
|
|
import { IonicSwipeAllModule } from 'ionic-swipe-all';
|
|
import { Groundr } from './app.component';
|
|
|
|
import { ChatPage } from '../pages/chat/chat';
|
|
import { GridPage } from '../pages/grid/grid';
|
|
import { LightboxPage } from '../pages/lightbox/lightbox';
|
|
import { MessagesPage } from '../pages/messages/messages';
|
|
import { ProfilePage } from '../pages/profile/profile';
|
|
import { TabsPage } from '../pages/tabs/tabs';
|
|
|
|
import { StatusBar } from '@ionic-native/status-bar';
|
|
import { SplashScreen } from '@ionic-native/splash-screen';
|
|
|
|
enableProdMode();
|
|
|
|
@NgModule({
|
|
declarations: [
|
|
Groundr,
|
|
ChatPage,
|
|
GridPage,
|
|
LightboxPage,
|
|
MessagesPage,
|
|
ProfilePage,
|
|
TabsPage
|
|
],
|
|
imports: [
|
|
BrowserModule,
|
|
HttpModule,
|
|
IonicSwipeAllModule,
|
|
IonicModule.forRoot(Groundr, {
|
|
iconMode: 'ios',
|
|
modalEnter: 'modal-slide-in',
|
|
modalLeave: 'modal-slide-out',
|
|
tabsPlacement: 'bottom',
|
|
pageTransition: 'ios-transition'
|
|
})
|
|
],
|
|
bootstrap: [IonicApp],
|
|
entryComponents: [
|
|
Groundr,
|
|
ChatPage,
|
|
GridPage,
|
|
LightboxPage,
|
|
MessagesPage,
|
|
ProfilePage,
|
|
TabsPage
|
|
],
|
|
providers: [
|
|
StatusBar,
|
|
SplashScreen,
|
|
{provide: ErrorHandler, useClass: IonicErrorHandler}
|
|
]
|
|
})
|
|
export class AppModule {}
|