Added cruising pages support
This commit is contained in:
@@ -8,7 +8,7 @@ import { TabsPage } from '../pages/tabs/tabs';
|
||||
@Component({
|
||||
templateUrl: 'app.html'
|
||||
})
|
||||
export class Groundr {
|
||||
export class Urge {
|
||||
rootPage:any = TabsPage;
|
||||
|
||||
constructor(platform: Platform, statusBar: StatusBar, splashScreen: SplashScreen) {
|
||||
|
||||
@@ -3,9 +3,11 @@ 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 { Urge } from './app.component';
|
||||
|
||||
import { ChatPage } from '../pages/chat/chat';
|
||||
import { CruisePage } from '../pages/cruise/cruise';
|
||||
import { CruisesPage } from '../pages/cruises/cruises';
|
||||
import { GridPage } from '../pages/grid/grid';
|
||||
import { LightboxPage } from '../pages/lightbox/lightbox';
|
||||
import { MessagesPage } from '../pages/messages/messages';
|
||||
@@ -17,8 +19,10 @@ import { SplashScreen } from '@ionic-native/splash-screen';
|
||||
|
||||
@NgModule({
|
||||
declarations: [
|
||||
Groundr,
|
||||
Urge,
|
||||
ChatPage,
|
||||
CruisePage,
|
||||
CruisesPage,
|
||||
GridPage,
|
||||
LightboxPage,
|
||||
MessagesPage,
|
||||
@@ -29,7 +33,7 @@ import { SplashScreen } from '@ionic-native/splash-screen';
|
||||
BrowserModule,
|
||||
HttpModule,
|
||||
IonicSwipeAllModule,
|
||||
IonicModule.forRoot(Groundr, {
|
||||
IonicModule.forRoot(Urge, {
|
||||
iconMode: 'ios',
|
||||
modalEnter: 'modal-slide-in',
|
||||
modalLeave: 'modal-slide-out',
|
||||
@@ -39,8 +43,10 @@ import { SplashScreen } from '@ionic-native/splash-screen';
|
||||
],
|
||||
bootstrap: [IonicApp],
|
||||
entryComponents: [
|
||||
Groundr,
|
||||
Urge,
|
||||
ChatPage,
|
||||
CruisePage,
|
||||
CruisesPage,
|
||||
GridPage,
|
||||
LightboxPage,
|
||||
MessagesPage,
|
||||
|
||||
Reference in New Issue
Block a user