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

import { $t } from '#/locales';

const routes: RouteRecordRaw[] = [
    {
        meta: {
            icon: 'ic:baseline-view-in-ar',
            keepAlive: true,
            order: 2,
            title: $t('playerdata.title'),
        },
        name: '玩家数据',
        path: '/playerdata',
        children: [
            {
                meta: {
                    title: $t('playerdata.player_list'),
                },
                name: 'AntDesignPlayerList',
                path: '/player-data/player-list',
                component: () => import('#/views/playerdata/playerlist/index.vue'),
            },
        ],
    },
];

export default routes;
