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

const routes: RouteRecordRaw[] = [
  {
    path: '/trip/my',
    component: Layout,
    children: [
      { path: '', component: () => import('./views/Index.vue') },
      { path: 'score', component: () => import('./views/Score.vue') }
    ]
  }
]

export { routes }
