diff --git a/src/pages/about/about.module.ts b/src/pages/about/about.module.ts new file mode 100644 index 00000000..9f5767f2 --- /dev/null +++ b/src/pages/about/about.module.ts @@ -0,0 +1,16 @@ +import { NgModule } from '@angular/core'; +import { IonicPageModule } from 'ionic-angular'; +import { AboutPage } from './about'; + +@NgModule({ + declarations: [ + AboutPage, + ], + imports: [ + IonicPageModule.forChild(AboutPage), + ], + exports: [ + AboutPage + ] +}) +export class AboutPageModule { } diff --git a/src/pages/about/about.ts b/src/pages/about/about.ts index a7ee80a7..1916df72 100644 --- a/src/pages/about/about.ts +++ b/src/pages/about/about.ts @@ -1,6 +1,7 @@ import { Component } from '@angular/core'; -import { NavController } from 'ionic-angular'; +import { IonicPage, NavController } from 'ionic-angular'; +@IonicPage() @Component({ selector: 'page-about', templateUrl: 'about.html' diff --git a/src/pages/contact/contact.module.ts b/src/pages/contact/contact.module.ts new file mode 100644 index 00000000..8d2708af --- /dev/null +++ b/src/pages/contact/contact.module.ts @@ -0,0 +1,16 @@ +import { NgModule } from '@angular/core'; +import { IonicPageModule } from 'ionic-angular'; +import { ContactPage } from './contact'; + +@NgModule({ + declarations: [ + ContactPage, + ], + imports: [ + IonicPageModule.forChild(ContactPage), + ], + exports: [ + ContactPage + ] +}) +export class ContactPageModule { } diff --git a/src/pages/contact/contact.ts b/src/pages/contact/contact.ts index 3ccadc99..64acec01 100644 --- a/src/pages/contact/contact.ts +++ b/src/pages/contact/contact.ts @@ -1,6 +1,7 @@ import { Component } from '@angular/core'; -import { NavController } from 'ionic-angular'; +import { IonicPage, NavController } from 'ionic-angular'; +@IonicPage() @Component({ selector: 'page-contact', templateUrl: 'contact.html' diff --git a/src/pages/home/home.module.ts b/src/pages/home/home.module.ts new file mode 100644 index 00000000..6fb7eeb8 --- /dev/null +++ b/src/pages/home/home.module.ts @@ -0,0 +1,16 @@ +import { NgModule } from '@angular/core'; +import { IonicPageModule } from 'ionic-angular'; +import { HomePage } from './home'; + +@NgModule({ + declarations: [ + HomePage, + ], + imports: [ + IonicPageModule.forChild(HomePage), + ], + exports: [ + HomePage + ] +}) +export class HomePageModule { } diff --git a/src/pages/home/home.ts b/src/pages/home/home.ts index 1d510dd2..16b60dbf 100644 --- a/src/pages/home/home.ts +++ b/src/pages/home/home.ts @@ -1,6 +1,7 @@ import { Component } from '@angular/core'; -import { NavController } from 'ionic-angular'; +import { IonicPage, NavController } from 'ionic-angular'; +@IonicPage() @Component({ selector: 'page-home', templateUrl: 'home.html' diff --git a/src/pages/tabs/tabs.module.ts b/src/pages/tabs/tabs.module.ts new file mode 100644 index 00000000..1ea6c772 --- /dev/null +++ b/src/pages/tabs/tabs.module.ts @@ -0,0 +1,16 @@ +import { NgModule } from '@angular/core'; +import { IonicPageModule } from 'ionic-angular'; +import { TabsPage } from './tabs'; + +@NgModule({ + declarations: [ + TabsPage, + ], + imports: [ + IonicPageModule.forChild(TabsPage), + ], + exports: [ + TabsPage + ] +}) +export class TabsPageModule { } diff --git a/src/pages/tabs/tabs.ts b/src/pages/tabs/tabs.ts index f80301b5..e8c7e698 100644 --- a/src/pages/tabs/tabs.ts +++ b/src/pages/tabs/tabs.ts @@ -1,9 +1,11 @@ import { Component } from '@angular/core'; +import { IonicPage } from 'ionic-angular'; import { AboutPage } from '../about/about'; import { ContactPage } from '../contact/contact'; import { HomePage } from '../home/home'; +@IonicPage() @Component({ templateUrl: 'tabs.html' })