import type { RouteRecordRaw } from 'vue-router';

const routes: RouteRecordRaw[] = [
  {
    meta: {
      icon: 'ant-design:setting-twotone',
      keepAlive: true,
      order: 1000,
      title: '系统管理',
    },
    name: 'System',
    path: '/system',
    children: [
      {
        meta: {
          title: '用户管理',
        },
        name: 'Users',
        path: '/system/users',
        component: () => import('#/views/permission/users/index.vue'),
      },
      // {
      //   meta: {
      //     title: '测试',
      //   },
      //   name: 'Test',
      //   path: '/system/test',
      //   component: () => import('#/views/test.vue'),
      // },
    ],
  },
];

export default routes;
