2018-03-24 16:51:04 +00:00
|
|
|
export default {
|
2018-03-21 17:44:27 +00:00
|
|
|
|
2018-03-24 16:51:04 +00:00
|
|
|
auth: [
|
2018-03-21 17:44:27 +00:00
|
|
|
|
2018-03-24 16:51:04 +00:00
|
|
|
{
|
|
|
|
name: 'channel',
|
|
|
|
path: '/channel/:link',
|
|
|
|
component: require('./vue/auth/channel.vue').default
|
|
|
|
}, {
|
|
|
|
path: '*',
|
|
|
|
redirect: '/channel/me'
|
|
|
|
}
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
noauth: [
|
|
|
|
|
|
|
|
{
|
|
|
|
name: 'login',
|
|
|
|
path: '/login',
|
|
|
|
component: require('./vue/noauth/login.vue').default
|
2018-03-25 10:24:34 +00:00
|
|
|
}, {
|
|
|
|
name: 'register',
|
|
|
|
path: '/register',
|
|
|
|
component: require('./vue/noauth/register.vue').default
|
2018-03-24 16:51:04 +00:00
|
|
|
}, {
|
|
|
|
path: '*',
|
|
|
|
redirect: '/login'
|
|
|
|
}
|
|
|
|
|
|
|
|
]
|
|
|
|
|
|
|
|
}
|