import BasicLayout from '@/layouts/home' const name = 'course' export default { path: `/${name}`, component: BasicLayout, children: [ { name, path: `/${name}`, component: () => import(`@/pages/${name}`), meta: { title: '课程中心' } } ] };