/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const booksManagement = {
  path: '/',
  component: Layout,
  redirect: '/books',
  name: 'booksManagement',
  meta: {
    title: '书籍管理',
    icon: 'el-icon-notebook-2'
  },
  children: [
    {
      path: 'article',
      component: () => import('@/views/books-management/article'),
      name: 'articleManagement',
      meta: { title: '文章管理' }
    },
    {
        path: 'ShuYuan',
        component: () => import('@/views/books-management/ShuYuan'),
        name: 'memberManagement',
        meta: { title: '书源管理' }
      }
  ]
}
export default booksManagement
