index.js
1.07 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
export default [{
path: '/article/:id',
name: 'article',
alias: '/article/:id',
component: () => import(/* webpackChunkName: "article" */ './article'),
meta: {
keepAlive: true
}
}, {
path: '/article/share/:id',
name: 'article.share',
alias: '/article/share/:id',
component: () => import(/* webpackChunkName: "article" */ './article-share'),
meta: {
keepAlive: true
}
}, {
path: '/article/:id/user/:type/:authorType/:authorUid',
name: 'article.user',
alias: '/article/:id/user/:type/:authorType/:authorUid',
component: () => import(/* webpackChunkName: "article" */ './user-article'),
meta: {
keepAlive: true
}
}, {
path: '/topic/:labelId/:labelName',
alias: '/topic/:labelId/:labelName',
name: 'topic',
component: () => import(/* webpackChunkName: "article" */ './topic'),
meta: {
keepAlive: true
}
}, {
path: '/article/:articleId/comment',
alias: '/article/:articleId/comment',
name: 'article.comment',
component: () => import(/* webpackChunkName: "article" */ './article-comment'),
meta: {
keepAlive: true
}
}];