Blame view

apps/pages/article/index.js 2.53 KB
陈峰 authored
1
export default [{
陈峰 authored
2
  path: '/article/:id',
陈峰 authored
3
  name: 'article',
陈峰 authored
4
  alias: '/article/:id',
yyq authored
5
  component: () => import(/* webpackChunkName: "article" */ './article-detail'),
陈峰 authored
6 7 8
  meta: {
    keepAlive: true
  }
陈峰 authored
9
}, {
yyq authored
10 11 12 13 14 15 16 17
  path: '/article/share/:id',
  name: 'article.share',
  alias: '/article/share/:id',
  component: () => import(/* webpackChunkName: "article" */ './article-detail-share'),
  meta: {
    keepAlive: true
  }
}, {
yyq authored
18
  path: '/article/list/:id',
yyq authored
19
  name: 'articlelist',
yyq authored
20
  alias: '/article/list/:id',
yyq authored
21
  component: () => import(/* webpackChunkName: "article-list" */ './article'),
yyq authored
22 23 24
  meta: {
    keepAlive: true
  }
陈峰 authored
25
}, {
yyq authored
26 27 28 29
  path: '/article/list/share/:id',
  name: 'articlelist.share',
  alias: '/article/list/share/:id',
  component: () => import(/* webpackChunkName: "article-list" */ './article-share'),
陈峰 authored
30 31 32 33
  meta: {
    keepAlive: true
  }
}, {
yyq authored
34 35 36 37 38 39 40 41
  path: '/article/nice/list',
  name: 'articlelist.nice',
  alias: '/article/nice/list',
  component: () => import(/* webpackChunkName: "article-list" */ './article-nice'),
  meta: {
    keepAlive: true
  }
}, {
yyq authored
42 43 44
  path: '/article/detail/:id',
  name: 'article.detail',
  alias: '/article/detail/:id',
yyq authored
45
  component: () => import(/* webpackChunkName: "article" */ './article-detail'),
yyq authored
46 47 48 49
  meta: {
    keepAlive: true
  }
}, {
陈峰 authored
50 51 52
  path: '/article/:id/user/:type/:authorType/:authorUid',
  name: 'article.user',
  alias: '/article/:id/user/:type/:authorType/:authorUid',
yyq authored
53
  component: () => import(/* webpackChunkName: "article-list" */ './user-article'),
陈峰 authored
54 55 56 57
  meta: {
    keepAlive: true
  }
}, {
yyq authored
58 59 60 61 62 63 64 65
  path: '/topic/list',
  alias: '/topic/list',
  name: 'topic.list',
  component: () => import(/* webpackChunkName: "topic-list" */ './topic-list'),
  meta: {
    keepAlive: true
  }
}, {
yyq authored
66 67 68
  path: '/topic/share/:topicId',
  alias: '/topic/share/:topicId',
  name: 'topic.share',
yyq authored
69
  component: () => import(/* webpackChunkName: "topic" */ './topic'),
yyq authored
70 71 72 73
  meta: {
    keepAlive: true
  }
}, {
yyq authored
74 75
  path: '/topic/:topicId/:topicName',
  alias: '/topic/:topicId/:topicName',
陈峰 authored
76
  name: 'topic',
yyq authored
77
  component: () => import(/* webpackChunkName: "topic" */ './topic'),
陈峰 authored
78
  meta: {
yyq authored
79 80
    keepAlive: true,
    statusBarColor: 'white'
陈峰 authored
81
  }
陈峰 authored
82
}, {
yyq authored
83 84 85
  path: '/topic/:topicId',
  alias: '/topic/:topicId',
  name: 'topic.id',
yyq authored
86
  component: () => import(/* webpackChunkName: "topic" */ './topic'),
yyq authored
87 88 89 90 91
  meta: {
    keepAlive: true,
    statusBarColor: 'white'
  }
}, {
陈峰 authored
92
  path: '/article/:articleId/comment',
陈峰 authored
93
  alias: '/article/:articleId/comment',
陈峰 authored
94
  name: 'article.comment',
yyq authored
95
  component: () => import(/* webpackChunkName: "article-list" */ './article-comment'),
陈峰 authored
96 97 98
  meta: {
    keepAlive: true
  }
陈峰 authored
99
}];