38 lines
632 B
JavaScript
38 lines
632 B
JavaScript
import AdminLayout from '@/components/AdminLayout'
|
|
const routes = [
|
|
{
|
|
path: '/frpc',
|
|
component: AdminLayout,
|
|
meta: {
|
|
icon: 'dashboard'
|
|
},
|
|
children: [
|
|
{
|
|
path: '',
|
|
component: () => import('@/views/frpc/Overview'),
|
|
meta: {
|
|
title: 'Overview'
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
path: '/frpc/config',
|
|
component: AdminLayout,
|
|
meta: {
|
|
icon: 'config'
|
|
},
|
|
children: [
|
|
{
|
|
path: '',
|
|
component: () => import('@/views/frpc/Configure'),
|
|
meta: {
|
|
title: 'Configure'
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
|
|
export default routes
|