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

const routes: RouteRecordRaw[] = [
  {
    meta: {
      icon: 'lucide:gamepad-2',
      order: 52,
      title: '游戏管理',
    },
    name: 'OperateGameManager',
    path: '/game-manager',
    redirect: '/game-manager/game-config',
    children: [
      {
        name: 'OperateGameConfig',
        path: 'game-config',
        component: () => import('#/views/operate/game-config.vue'),
        meta: { title: '游戏列表' },
      },
      {
        name: 'OperateBaishunConfig',
        path: 'baishun-config',
        component: () => import('#/views/operate/baishun-config.vue'),
        meta: { title: '百顺配置' },
      },
    ],
  },
];

export default routes;
