app.routes.ts 623 B

12345678910
  1. import { Routes } from '@angular/router';
  2. import { DashboardComponent } from './dashboard/dashboard.component';
  3. export const routes: Routes = [
  4. { path: '', redirectTo: '/dashboard', pathMatch: 'full' },
  5. { path:'dashboard', component: DashboardComponent, data: {title: 'Financial Information System'}},
  6. { path:'auth', loadChildren: () => import('angularlib/login/login.module').then(m => m.LoginModule)},
  7. { path:'tender', loadChildren: () => import('fis/tender/tender.module').then(m => m.TenderModule)},
  8. { path:'leave', loadChildren: () => import('fis/leave/leave.module').then(m => m.LeaveModule)}
  9. ];