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

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

const routes: RouteRecordRaw[] = [
    {
        meta: {
            icon: 'solar:gamepad-outline',
            keepAlive: true,
            order: 3,
            title: $t('game_control.title'),
        },
        name: $t('game_control.game_config'),
        path: '/game-control',
        children: [
            {
                meta: {
                    title: $t('game_control.game_config'),
                    icon:'solar:gamepad-old-outline',
                    keepAlive: true
                },
                name: 'GameControlGameConfig',
                path: '/game-control/game_config',
                component: () => import('#/views/game_control/game_config/index.vue'),
            },
        ],
    },
];

export default routes;
