blob: b581d2e6991e592cc68f12198b9633bfa250ab14 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
import AdminContainer from "../modules/admin/admin.container";
import SuperAdminContainer from "../modules/superadmin/superadmin.container";
import DashBoardContainer from "../modules/dashboard/dashboard.container";
export const AppRoutes = [
{
path: '/admin',
component: AdminContainer,
permission: ['admin','superadmin']
},
{
path: '/superadmin',
component: SuperAdminContainer,
permission: ['admin', 'superadmin', 'user']
},
{
path: '/dashboard',
component: DashBoardContainer,
permission: ['user']
}
];
|