2021-01-25 19:44:20 +08:00
|
|
|
import AdminLayout from '@/components/AdminLayout'
|
|
|
|
|
const routes = [
|
|
|
|
|
{
|
2021-01-25 20:14:44 +08:00
|
|
|
path: '/frpc',
|
2021-01-25 19:44:20 +08:00
|
|
|
component: AdminLayout,
|
|
|
|
|
meta: {
|
2021-01-25 20:14:44 +08:00
|
|
|
icon: 'dashboard'
|
2021-01-25 19:44:20 +08:00
|
|
|
},
|
|
|
|
|
children: [
|
|
|
|
|
{
|
|
|
|
|
path: '',
|
2021-01-25 20:14:44 +08:00
|
|
|
component: () => import('@/views/frpc/Overview'),
|
2021-01-25 19:44:20 +08:00
|
|
|
meta: {
|
2021-01-25 20:14:44 +08:00
|
|
|
title: 'Overview'
|
2021-01-25 19:44:20 +08:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
2021-01-25 20:14:44 +08:00
|
|
|
path: '/frpc/config',
|
2021-01-25 19:44:20 +08:00
|
|
|
component: AdminLayout,
|
|
|
|
|
meta: {
|
2021-01-25 20:14:44 +08:00
|
|
|
icon: 'config'
|
2021-01-25 19:44:20 +08:00
|
|
|
},
|
|
|
|
|
children: [
|
|
|
|
|
{
|
|
|
|
|
path: '',
|
2021-01-25 20:14:44 +08:00
|
|
|
component: () => import('@/views/frpc/Configure'),
|
2021-01-25 19:44:20 +08:00
|
|
|
meta: {
|
2021-01-25 20:14:44 +08:00
|
|
|
title: 'Configure'
|
2021-01-25 19:44:20 +08:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
export default routes
|