text: import Admin from '../views/admin/main/index'
  import adminUser from '../views/admin/user/routes'
  import role from '../views/admin/role/routes'
  import permission from '../views/admin/permission/routes'
  import permissionGroup from '../views/admin/permission-group/routes'
  import menu from '../views/admin/menu/routes'
  import articleGategory from '../views/admin/article_category/routes'
  import article from '../views/admin/article/routes'
  import tag from '../views/admin/tag/routes'
  
  import adminDashboard from '../views/admin/dashboard/routes'
  import adminLogin from '../views/admin/login/routes'
  //会员路由设置
  import userRoutes from '../views/users/routes'
  //web路由设置
  import webRoutes from '../views/web/routes'
  export default [
    ...webRoutes,
    ...userRoutes,
    {
      name: 'adminMain',
      path: '/admin',
      redirect: '/admin/dashboard',
      meta: {
        provider: 'admin',
        title: 'home',
      },
      component: Admin,
      children: [
        ...adminDashboard, ...adminUser, ...role, ...permission, ...permissionGroup, ...menu
        ,...articleGategory,...article,...tag
      ]
    },
    ...adminLogin,
    {
        name: 'memberMain',
        path: '/member',
        redirect: '/member/dashboard',
        meta: {
            provider: 'member',
            title: 'home',
        },
        component: Admin,
        children: [
            {
                name: 'memberDashboard',
                path: 'dashboard',
                meta: {
                    provider: 'member',
                    title: 'dashboard',
                    cache: true,
                    notClosable: true
                },
                component: resolve => void(require(['../views/member/dashboard/index.vue'], resolve))
            },
        ]
    },
    {
        name: 'memberLogin',
        path: '/member/login',
        component: resolve => void(require(['../views/member/login/index.vue'], resolve))
    },
  
  
  
  ]
  