import { HmgCommonModule } from 'src/app/hmg-common/hmg-common.module';
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { Routes, RouterModule } from '@angular/router';

import { IonicModule } from '@ionic/angular';

import { MySubordinatePage } from './my-subordinate.page';
import { HomeComponent } from './home/home.component';

const routes: Routes = [
  {
    path: '',
    component: MySubordinatePage,
    children: [
      {
        path: 'home',
        component: HomeComponent,
      }
    ]
  }
];

@NgModule({
  imports: [
    CommonModule,
    FormsModule,
    IonicModule,
    HmgCommonModule,
    RouterModule.forChild(routes)
  ],
  declarations: [
    MySubordinatePage,
    HomeComponent
  ]
})
export class MySubordinatePageModule { }
