index.js
574 Bytes
export default [{
path: '/article/:id',
name: 'article',
alias: '/article/:id',
component: () => import(/* webpackChunkName: "article" */ './article'),
meta: {
keepAlive: true
}
}, {
path: '/topic/:labelId',
alias: '/topic/:labelId',
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'),
}];