|
|
|
@ -42,6 +42,7 @@ const Shift = React.lazy(() => import('./views/SimproV2/Shift'));
|
|
|
|
|
const TestGantt = React.lazy(() => import('./views/testgantt')); |
|
|
|
|
const UserAdmin = React.lazy(() => import('./views/Master/UserAdmin')); |
|
|
|
|
const UserShift = React.lazy(() => import('./views/SimproV2/UserShift')); |
|
|
|
|
const DashboardProject = React.lazy(() => import('./views/DashboardProject')); |
|
|
|
|
|
|
|
|
|
const routes = [ |
|
|
|
|
{ path: '/', exact: true, name: 'Home' }, |
|
|
|
@ -94,7 +95,7 @@ const routes = [
|
|
|
|
|
{ path: '/user-admin', exact: true, name: 'User Admin', component: UserAdmin }, |
|
|
|
|
{ path: '/user-shift', exact: true, name: 'Shift', component: UserShift }, |
|
|
|
|
{ path: '/working-hour', exact: true, name: 'Working Hour', component: Shift }, |
|
|
|
|
|
|
|
|
|
{ path: '/dashboard-project/:id', exact: true, name: 'Dashboard Project', component: DashboardProject }, |
|
|
|
|
]; |
|
|
|
|
|
|
|
|
|
export default routes; |
|
|
|
|