/*
 * @Author: 吴文洁
 * @Date: 2020-04-29 10:26:32
 * @LastEditors: wufan
 * @LastEditTime: 2020-12-26 14:44:41
 * @Description: 内容线路由配置
 */
import EmployeesManagePage from '@/modules/store-manage/EmployeesManagePage';
import personalInfoPage from '@/modules/personalInfo';
import UserManagePage from '@/modules/store-manage/UserManagePage';
import StoreDecorationPage from '@/modules/store-manage/StoreDecorationPage';
import CourseCatalogPage from '@/modules/store-manage/CourseCatalogPage';
import LiveCoursePage from '@/modules/course-manage/LiveCoursePage';
import AddLivePage from '@/modules/course-manage/AddLive'
import ResourceDisk from '@/modules/resource-disk';
import SwitchRoute from '@/modules/root/SwitchRoute';

const mainRoutes = [
  {
    path: '/employees-manage',
		component: EmployeesManagePage,
		name: '员工管理'
  },
  {
    path: '/personal-info',
		component: personalInfoPage,
		name: '个人信息'
  },
  {
    path: '/user-manage',
		component: UserManagePage,
		name: '用户管理'
  },
  {
    path: '/store-decoration',
		component: StoreDecorationPage,
		name: '店铺装修'
  },
  {
    path: '/course-catalog',
		component:CourseCatalogPage,
		name: '课程分类'
  },
  {
    path: '/live-course',
		component:LiveCoursePage,
		name: '课程管理'
  },
  {
    path: '/create-live-course',
		component:AddLivePage,
		name: '创建直播课'
  },
  {
    path: '/resource-disk',
		component:ResourceDisk,
		name: '资料云盘'
  },
  {
    path: '/switch-route',
		component: SwitchRoute,
		name: '登录后跳转承载页'
  }
]

export default mainRoutes;