const routes = [
    {
        path: '/',
        redirect: '/home',
    },
    {
        path: '/home',
        name: 'home',
        component: () => import('../pages/layout/index.vue'),
        children: [],
    },
    {
        path: '/loginSYS',
        name: 'loginSYS',
        redirect: '/loginSYS/login',
        component: () => import('../pages/login/index.vue'),
        children: [
            {
                path: 'login',
                name: 'login',
                component: () => import('../pages/login/Login.vue')
            },
            {
                path: 'register',
                name: 'register',
                component: () => import('../pages/login/Register.vue')
            },
            {
                path: 'forgot',
                name: 'forgot',
                component: () => import('../pages/login/Forgot.vue')
            }
        ]
    },
]

export default routes;
