Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import { Routes } from '@angular/router';
- import { FullComponent } from './layouts/full/full.component';
- import { BlankComponent } from './layouts/blank/blank.component';
- import { PageNotFoundComponent } from './errors/404/page-not-found.component';
- export const AppRoutes: Routes = [
- {
- path: '',
- component: FullComponent,
- children: [
- { path: '', redirectTo: '/dashboard', pathMatch: 'full' },
- { path: 'administration', loadChildren: () => import('./administration/administration.module').then(m => m.AdministrationModule) },
- { path: 'dashboard', loadChildren: () => import('./dashboard/dashboard.module').then(m => m.DashboardModule) },
- { path: 'helpdesk', loadChildren: () => import('./helpdesk/helpdesk.module').then(m => m.HelpDeskModule) },
- { path: 'labsystems', loadChildren: () => import('./labsystems/labsystems.module').then(m => m.LabSystemsModule) },
- { path: 'linkagecare', loadChildren: () => import('./linkagecare/linkagecare.module').then(m => m.LinkageCareModule) },
- { path: 'mappinglisting', loadChildren: () => import('./mappinglisting/mappinglisting.module').then(m => m.MappingListingModule) },
- { path: 'projectmanagement', loadChildren: () => import('./projectmanagement/projectmanagement.module').then(m => m.ProjectManagementModule) },
- { path: 'reports', loadChildren: () => import('./reports/reports.module').then(m => m.ReportsModule) },
- { path: 'fieldchecks', loadChildren: () => import('./fieldchecks/fieldchecks.module').then(m => m.FieldchecksModule) },
- { path: 'rtdms', loadChildren: () => import('./rtdms/rtdms.module').then(m => m.RTDMSModule) },
- { path: 'tickets', loadChildren: () => import('./tickets/tickets.module').then(m => m.TicketsModule) },
- { path: 'wallboard', loadChildren: () => import('./wallboard/wallboard.module').then(m => m.WallboardModule) }
- ]
- },
- {
- path: '',
- component: BlankComponent,
- children: [
- { path: 'errors', loadChildren: () => import('./errors/errors.module').then(m => m.ErrorsModule) },
- { path: 'wallboard-monitor', loadChildren: () => import('./wallboard-monitor/monitor.module').then(m => m.WallboardMonitorReportModule) },
- { path: 'dashboard-monitor', loadChildren: () => import('./dashboard-monitor/dashboard-monitor.module').then(m => m.DashboardMonitorModule) }
- ]
- },
- {
- path: '**',
- component: PageNotFoundComponent
- }
- ];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement