portal.js
1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
import Layout from '@/layout/'
const portalRouter = {
path: '/portal',
component: Layout,
name: 'portal',
meta: {
icon: 'profile',
title: '门户管理'
},
children: [
{
path: '/portal/carouselManage',
name: 'carouselManage',
exact: true,
meta: {
title: '轮播图管理'
},
component: () => import(/* webpackChunkName: "carouselManage" */ '@/views/portalManage/carouselManage/index.vue'), // 轮播图管理
},
{
path: '/portal/scrollBarManage',
name: 'scrollBarManage',
exact: true,
meta: {
title: '滚动条管理'
},
component: () => import(/* webpackChunkName: "scrollBarManage" */ '@/views/portalManage/scrollBarManage/index.vue'), // 滚动条管理
},
{
path: '/portal/pdf',
name: 'pdf',
exact: true,
meta: {
title: '滚动条管理'
},
component: () => import(/* webpackChunkName: "pdf" */ '@/views/portalManage/pdf/index.vue'), // 滚动条管理
},
]
}
export default portalRouter;