You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
import BasicLayout from '@/layouts/home'
|
|
|
|
|
|
|
|
const meta = {}
|
|
|
|
|
|
|
|
const pre = 'column-'
|
|
|
|
|
|
|
|
export default {
|
|
|
|
path: '/column',
|
|
|
|
name: 'column',
|
|
|
|
redirect: {
|
|
|
|
name: `${pre}list`
|
|
|
|
},
|
|
|
|
meta,
|
|
|
|
component: BasicLayout,
|
|
|
|
children: [
|
|
|
|
{
|
|
|
|
name: `${pre}list`,
|
|
|
|
path: `list`,
|
|
|
|
component: () => import('@/pages/column/list'),
|
|
|
|
meta: { title: '栏目管理' }
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: `${pre}add`,
|
|
|
|
path: `add`,
|
|
|
|
component: () => import('@/pages/column/add'),
|
|
|
|
meta: { title: '添加栏目' }
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: `${pre}home`,
|
|
|
|
path: `home`,
|
|
|
|
component: () => import('@/pages/column/page/home'),
|
|
|
|
meta: { title: 'HOME' }
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: `${pre}about`,
|
|
|
|
path: `about`,
|
|
|
|
component: () => import('@/pages/column/page/about'),
|
|
|
|
meta: { title: 'ABOUT' }
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|