mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-09-07 23:25:30 +08:00
26 lines
578 B
TypeScript
26 lines
578 B
TypeScript
import { Layout } from '@/routers/constant';
|
|
|
|
const terminalRouter = {
|
|
sort: 2,
|
|
path: '/terminals',
|
|
component: Layout,
|
|
redirect: '/terminal',
|
|
meta: {
|
|
title: 'menu.terminal',
|
|
icon: 'monitor',
|
|
},
|
|
children: [
|
|
{
|
|
path: '/terminal',
|
|
name: 'Terminal',
|
|
component: () => import('@/views/terminal/index.vue'),
|
|
meta: {
|
|
keepAlive: true,
|
|
requiresAuth: true,
|
|
key: 'Terminal',
|
|
},
|
|
},
|
|
],
|
|
};
|
|
|
|
export default terminalRouter;
|