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

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

export { routes }
