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

import { ViewPublicationsPage } from './view-publications.page';

const routes: Routes = [
  {
    path: '',
    component: ViewPublicationsPage
  },
  {
    path: 'publication-detail',
    loadChildren: () => import('./publication-detail/publication-detail.module').then( m => m.PublicationDetailPageModule)
  }
];

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