index.js
2.53 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
export default [{
path: '/article/:id',
name: 'article',
alias: '/article/:id',
component: () => import(/* webpackChunkName: "article" */ './article-detail'),
meta: {
keepAlive: true
}
},{
path: '/article/share/:id',
name: 'article.share',
alias: '/article/share/:id',
component: () => import(/* webpackChunkName: "article" */ './article-detail-share'),
meta: {
keepAlive: true
}
}, {
path: '/article/list/:id',
name: 'articlelist',
alias: '/article/list/:id',
component: () => import(/* webpackChunkName: "article-list" */ './article'),
meta: {
keepAlive: true
}
}, {
path: '/article/list/share/:id',
name: 'articlelist.share',
alias: '/article/list/share/:id',
component: () => import(/* webpackChunkName: "article-list" */ './article-share'),
meta: {
keepAlive: true
}
}, {
path: '/article/nice/list',
name: 'articlelist.nice',
alias: '/article/nice/list',
component: () => import(/* webpackChunkName: "article-list" */ './article-nice'),
meta: {
keepAlive: true
}
}, {
path: '/article/detail/:id',
name: 'article.detail',
alias: '/article/detail/:id',
component: () => import(/* webpackChunkName: "article" */ './article-detail'),
meta: {
keepAlive: true
}
}, {
path: '/article/:id/user/:type/:authorType/:authorUid',
name: 'article.user',
alias: '/article/:id/user/:type/:authorType/:authorUid',
component: () => import(/* webpackChunkName: "article-list" */ './user-article'),
meta: {
keepAlive: true
}
}, {
path: '/topic/list',
alias: '/topic/list',
name: 'topic.list',
component: () => import(/* webpackChunkName: "topic-list" */ './topic-list'),
meta: {
keepAlive: true
}
}, {
path: '/topic/share/:topicId',
alias: '/topic/share/:topicId',
name: 'topic.share',
component: () => import(/* webpackChunkName: "topic" */ './topic'),
meta: {
keepAlive: true
}
}, {
path: '/topic/:topicId/:topicName',
alias: '/topic/:topicId/:topicName',
name: 'topic',
component: () => import(/* webpackChunkName: "topic" */ './topic'),
meta: {
keepAlive: true,
statusBarColor: 'white'
}
}, {
path: '/topic/:topicId',
alias: '/topic/:topicId',
name: 'topic.id',
component: () => import(/* webpackChunkName: "topic" */ './topic'),
meta: {
keepAlive: true,
statusBarColor: 'white'
}
}, {
path: '/article/:articleId/comment',
alias: '/article/:articleId/comment',
name: 'article.comment',
component: () => import(/* webpackChunkName: "article-list" */ './article-comment'),
meta: {
keepAlive: true
}
}];