|
|
@@ -0,0 +1,30 @@
|
|
|
+import type { RouteRecordRaw } from 'vue-router'
|
|
|
+
|
|
|
+function Layout() {
|
|
|
+ return import('@/layouts/index.vue')
|
|
|
+}
|
|
|
+
|
|
|
+const routes: RouteRecordRaw = {
|
|
|
+ path: '/role_management',
|
|
|
+ component: Layout,
|
|
|
+ name: 'roleManagement',
|
|
|
+ meta: {
|
|
|
+ title: 'Role Management',
|
|
|
+ icon: 'i-file-icons:jsx',
|
|
|
+ },
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ path: '',
|
|
|
+ name: 'roleManagementIndex',
|
|
|
+ component: () => import('@/views/role-management/index.vue'),
|
|
|
+ meta: {
|
|
|
+ title: 'Role Management',
|
|
|
+ menu: false,
|
|
|
+ breadcrumb: false,
|
|
|
+ activeMenu: '/role_management',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ ],
|
|
|
+}
|
|
|
+
|
|
|
+export default routes
|