import { Routes } from '@angular/router'; export const errorRoutingModule: Routes = [ { path: 'error', children: [ { path: 'error404', loadComponent: () => import('./error404/error404').then( (m) => m.Error404 ), title: 'YNEX - Error 404' }, ] } ];