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

import { DespachosPrPage } from './despachos-pr.page';

const routes: Routes = [
  {
    path: '',
    component: DespachosPrPage
  },
  {
    path: 'despacho-pr',
    loadChildren: () => import('./despacho-pr/despacho-pr.module').then( m => m.DespachoPrPageModule)
  }
];

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