import { Routes } from '@angular/router';
import { DashboardComponent } from './dashboard/dashboard.component';
import { ApprovalComponent } from 'fis/approval/approval.component';

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