routes.ts 607 Bytes
Newer Older
1
import Loadable from 'utilities/CustomReactLoadable';
Matija Obreza's avatar
Matija Obreza committed
2
3
4
5
6
7
8
9
10
11
12
13
14


const publicRoutes = [
  // not yet
];

const dashboardRoutes = [
  // not yet
];

const adminRoutes = [
  {
    path: '/kpi/',
15
16
17
    component: Loadable({
      loader: () => import(/* webpackMode:"lazy", webpackChunkName: "kpi" */'kpi/ui/admin/Dashboard'),
    }),
Matija Obreza's avatar
Matija Obreza committed
18
19
20
    exact: true,
  },
  {
Viacheslav Pavlov's avatar
Viacheslav Pavlov committed
21
    path: '/kpi/:shortName/:tab?',
22
23
24
    component: Loadable({
      loader: () => import(/* webpackMode:"lazy", webpackChunkName: "kpi" */'kpi/ui/admin/ExecutionDisplay'),
    }),
Matija Obreza's avatar
Matija Obreza committed
25
26
27
28
29
    exact: true,
  },
];

export { publicRoutes, dashboardRoutes, adminRoutes };