import type { RouteRecordRaw } from 'vue-router'

const routes: RouteRecordRaw[] = [
  // {
  //   name: 'user-mgr',
  //   path: 'user-mgr',
  //   meta: { title: '用户管理', icon: 'svg:avatar-4', order: 2 },
  //   children: [
  //     {
  //       path: 'user-info',
  //       name: 'user-info',
  //       component: () => import('./user-info/home.vue'),
  //       meta: { title: '用户信息', icon: 'hugeicons:profile-02' },
  //     },
  //     {
  //       path: 'user-details/:id',
  //       name: 'user-details',
  //       component: () => import('./user-details/home.vue'),
  //       meta: { title: '用户详情', hideInMenu: true },
  //     },
  //   ],
  // },
  {
    path: 'user-mgr/user-details/:id',
    name: 'user-details',
    component: () => import('./user-details/home.vue'),
    meta: { title: '用户详情', hideInMenu: true },
  },
]
export default routes
