import type { RouteRecordRaw } from 'vue-router'
import AppLayout from '@/components/layout/Index.vue'

export const routes: Array<RouteRecordRaw> = [
  {
    path: '/teach/chart',
    component: AppLayout,
    children: [
      { path: 'resource', component: () => import('./views/Resource.vue') },
      { path: 'learning', component: () => import('./views/Learning.vue') },
    ],
  },
]
