const Layout = () => import('@/layout/Index')

export default [
  {
    path: '/',
    meta: { title: '布局'},
    name: 'layout',
    component: () => import('@/layout/Index'),
    children: [
      {
        path: 'index',
        meta: { title: '首页'},
        component: () => import('@/views/admin/index/Index')
      },
      {
        path: 'userInfo',
        meta: { title: '个人信息', isMenu: false},
        component: SANHUI.UserInfo
      },
      {
        path: '405',
        meta: { title: '405', isLogin: false},
        component: SANHUI.Error405
      },
    ]
  },
  {
    path: '/login',
    meta: { title: '登录', isLogin: false},
    component: SANHUI.Login
  },
  {
    path: '*',
    meta: { title: '404', isLogin: false},
    component: SANHUI.Error404
  }
]