]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/eg2/src/app/staff/cat/routing.module.ts
LP1864371 Migrate deprecated loadChildren invocations
[Evergreen.git] / Open-ILS / src / eg2 / src / app / staff / cat / routing.module.ts
1 import {NgModule} from '@angular/core';
2 import {RouterModule, Routes} from '@angular/router';
3
4 const routes: Routes = [
5   { path: 'vandelay',
6     loadChildren: () =>
7       import('./vandelay/vandelay.module').then(m => m.VandelayModule)
8   }, {
9     path: 'authority',
10     loadChildren: () =>
11       import('./authority/authority.module').then(m => m.AuthorityModule)
12   }
13 ];
14
15 @NgModule({
16   imports: [RouterModule.forChild(routes)],
17   exports: [RouterModule]
18 })
19
20 export class CatRoutingModule {}