feat: 添加 MINECRAFT 联动控制模块

This commit is contained in:
2024-08-30 13:24:16 +08:00
parent 702d65ef47
commit bf66ff6e1c
3 changed files with 24 additions and 1 deletions

View File

@@ -8,8 +8,9 @@ import {
} from '@/assets/js/utils';
import {
ENABLE_SEARCH_MODULE,
ENABLE_MC_CTRL_MODULE,
ENABLE_NAV_MODULE,
ENABLE_SEARCH_MODULE,
ENABLE_TOOLBOX_MODULE,
} from '@/config/modules';
@@ -59,6 +60,16 @@ export const router = createRouter({
title: '工具箱',
},
},
{
path: '/minecraft-ctrl-view',
name: 'MinecraftCtrlView',
component: () => import('@/views/MinecraftCtrlView/MinecraftCtrlView.vue'),
meta: {
iconClass: 'mdi mdi-gamepad',
showInAside: ENABLE_MC_CTRL_MODULE,
title: 'MINECRAFT 联动控制',
},
},
{
path: '/about-view',
name: 'AboutView',