feat: add article and production modules
This commit is contained in:
@@ -0,0 +1,59 @@
|
||||
import { AppRouteRecord } from '@/types/router'
|
||||
import { RoutesAlias } from '@/router/routesAlias'
|
||||
|
||||
export default {
|
||||
path: '/article',
|
||||
name: 'Article',
|
||||
component: RoutesAlias.Layout,
|
||||
meta: {
|
||||
title: '文章管理',
|
||||
icon: 'ri:plugin-line',
|
||||
module: 'article'
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: 'index',
|
||||
name: 'ArticleIndex',
|
||||
component: '/article/content/index',
|
||||
meta: {
|
||||
title: '内容中心',
|
||||
icon: 'ri:article-line',
|
||||
keepAlive: false,
|
||||
module: 'article'
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'category',
|
||||
name: 'ArticleCategory',
|
||||
component: '/article/category/index',
|
||||
meta: {
|
||||
title: '内容分类',
|
||||
icon: 'ri:folder-2-line',
|
||||
keepAlive: false,
|
||||
module: 'article'
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'tag',
|
||||
name: 'ArticleTag',
|
||||
component: '/article/tag/index',
|
||||
meta: {
|
||||
title: '标签管理',
|
||||
icon: 'ri:price-tag-3-line',
|
||||
keepAlive: false,
|
||||
module: 'article'
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'recycle',
|
||||
name: 'ArticleRecycle',
|
||||
component: '/article/recycle/index',
|
||||
meta: {
|
||||
title: '内容回收站',
|
||||
icon: 'ri:delete-bin-6-line',
|
||||
keepAlive: false,
|
||||
module: 'article'
|
||||
}
|
||||
}
|
||||
]
|
||||
} as AppRouteRecord
|
||||
Reference in New Issue
Block a user