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

import { ExpedientePage } from './expediente.page';

const routes: Routes = [
  {
    path: '',
    component: ExpedientePage
  },
  {
    path: 'expediente-detail',
    loadChildren: () => import('./expediente-detail/expediente-detail.module').then( m => m.ExpedienteDetailPageModule)
  },
  {
    path: 'expedient-task-modal',
    loadChildren: () => import('./expedient-task-modal/expedient-task-modal.module').then( m => m.ExpedientTaskModalPageModule)
  },
  {
    path: 'book-meeting-modal',
    loadChildren: () => import('./book-meeting-modal/book-meeting-modal.module').then( m => m.BookMeetingModalPageModule)
  },


];

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