import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';

import { ManagementPage } from './management.page';

const routes: Routes = [
  {
    path: '',
    component: ManagementPage
  },
  {
    path: 'emotion-vent',
    loadChildren: () => import('./emotion-vent/emotion-vent.module').then( m => m.EmotionVentPageModule)
  },
  {
    path: 'scream-room',
    loadChildren: () => import('./scream-room/scream-room.module').then( m => m.ScreamRoomPageModule)
  },

];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule],
})
export class ManagementPageRoutingModule {}
