export const basicRoutes = [
    {
        path:'/',
        redirect:'/login'
    },{
        path:'/login',
        name:'Login',
        component: () => import('../views/Login.vue')
    },{
        path:'/wxlogin',
        name:'wxlogin',
        component: () => import('../views/wxLogin.vue')
    },{
        path:'/main',
        name:'MainFrame',
        component: () => import('../views/Index.vue'),
        children:[
            {
                path:'/home',
                name:'Home',
                component: () => import('../views/Home.vue')
            },{
                path:'/settings',
                name:'Settings',
                component: () => import('../views/Settings.vue')
            },{
                path: '/:pathMatch(.*)',
                name: 'NotFound',
                component: () => import('../views/404.vue')
            },{
                path:'/error-page',
                name:'error-page',
                component: () => import('../views/404.vue')
            }
        ]
    }
]
