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

export const routes: Array<RouteRecordRaw> = [
  {
    path: '/teach/exam',
    component: AppLayout,
    children: [
      { path: '/teach/exam', component: () => import('./views/List.vue') },
      { path: '/teach/stuList', component: () => import('./views/StudentList.vue') },
      { path: '/teach/view', component: () => import('./views/View.vue') }
    ]
  }
]
