Skip to content

Instantly share code, notes, and snippets.

@samarthagarwal
Created September 4, 2018 08:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save samarthagarwal/2fcabfaa6ec48d39d0ee7b148de8a42e to your computer and use it in GitHub Desktop.
Save samarthagarwal/2fcabfaa6ec48d39d0ee7b148de8a42e to your computer and use it in GitHub Desktop.
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { IonicModule } from '@ionic/angular';
import { FormsModule } from '@angular/forms';
import { RouterModule } from '@angular/router';
import { HomePage } from './home.page';
import { StudioPage } from '../studio/studio.page';
import { ClubPage } from '../club/club.page';
import { OfficePage } from '../office/office.page';
@NgModule({
imports: [
CommonModule,
FormsModule,
IonicModule,
RouterModule.forChild([
{
path: '',
component: HomePage
}
])
],
declarations: [HomePage, OfficePage, ClubPage, StudioPage]
})
export class HomePageModule {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment