2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 16:10:59 +08:00
Files
panel/web/src/views/monitor/route.ts
2024-10-13 22:44:42 +08:00

26 lines
489 B
Go

import type { RouteType } from '~/types/router'
const Layout = () => import('@/layout/IndexView.vue')
export default {
name: 'monitor',
path: '/monitor',
component: Layout,
meta: {
order: 20
},
children: [
{
name: 'monitor-index',
path: '',
component: () => import('./IndexView.vue'),
meta: {
title: 'monitorIndex.title',
icon: 'mdi:monitor',
role: ['admin'],
requireAuth: true
}
}
]
} as RouteType