🌈 An enterprise-class UI components based on Ant Design and Vue. 🐜
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

56 lines
1.2 KiB

import UserLayout from '../layouts/UserLayout';
import BaseLayout from '../layouts/BaseLayout';
export default [
{
path: '/vip',
component: () => import('../views/vip.vue'),
},
{
path: '/jobs',
component: BaseLayout,
props: () => {
return { name: 'list-cn' };
},
children: [
{
path: '/jobs',
redirect: '/jobs/list-cn',
},
{
path: '/jobs/list-cn',
name: 'list-cn',
component: () => import(/* webpackChunkName: "jobs" */ '../views/jobs.vue'),
},
],
},
{
path: '/user',
component: UserLayout,
children: [
{
path: '/user',
redirect: '/user/login',
},
{
path: '/user/login',
name: 'login',
component: () =>
import(
/* webpackChunkName: "user" */
'../views/user/login'
),
},
{
path: '/user/register',
name: 'register',
component: () => import(/* webpackChunkName: "user" */ '../views/user/register'),
},
{
path: '/user/register-result',
name: 'register.result',
component: () => import(/* webpackChunkName: "user" */ '../views/user/register-result'),
},
],
},
];