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

const routes: RouteRecordRaw[] = [
  {
    path: '/connect',
    component: Layout,
    children: [
      { path: '', component: () => import('./views/Index.vue') },
      { path: 'view', component: () => import('./views/View.vue') },
      { path: 'view/surveyking', component: () => import('./views/SurveyKing.vue') }
    ]
  }
]

export { routes }
