index.js 2.11 KB
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/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/share/:topicId',
  alias: '/topic/share/:topicId',
  name: 'topic.share',
  component: () => import(/* webpackChunkName: "topic" */ './topic'),
  meta: {
    keepAlive: true
  }
}, {
  path: '/topic/:topicId',
  alias: '/topic/:topicId',
  name: 'topic',
  component: () => import(/* webpackChunkName: "topic" */ './topic'),
  meta: {
    keepAlive: true,
    statusBarColor: 'white'
  }
}, {
  path: '/topic/:topicId',
  alias: '/topic/:topicId',
  name: 'topic.id',
  component: () => import(/* webpackChunkName: "article" */ './topic'),
  meta: {
    keepAlive: true,
    statusBarColor: 'white'
  }
}, {
  path: '/article/:articleId/comment',
  alias: '/article/:articleId/comment',
  name: 'article.comment',
  component: () => import(/* webpackChunkName: "article" */ './article-comment'),
  meta: {
    keepAlive: true
  }
}];