admin.routes.ts 558 Bytes
Newer Older
Trần Anh Phú's avatar
Trần Anh Phú committed
1 2 3 4 5 6 7 8 9 10 11 12 13
import { Route } from '@angular/router';
import { AdminLayoutComponent } from './layout/feature/ui/layout.component';

const ADMIN_ROUTES: Route[] = [
  {
    path: '',
    component: AdminLayoutComponent,
    children: [
      {
        path: '',
        pathMatch: 'full',
        redirectTo: 'configuration',
      },
14 15 16 17 18 19 20 21 22
      {
        path: 'jobs',
        children: [
          {
            path: '',
            loadChildren: () => import('./management/job/job-manager.routes'),
          }
        ]
      }
Trần Anh Phú's avatar
Trần Anh Phú committed
23 24 25 26
    ],
  },
];
export default ADMIN_ROUTES;