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