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

const routes: RouteRecordRaw[] = [
  {
    path: '/user',
    component: Layout,
    children: [
      { path: '', component: () => import('./views/Index.vue') },
      { path: 'eventDetails', component: () => import('./views/EventDetails.vue') },
      { path: 'image', component: () => import('./views/Image.vue') }
    ]
  }
]
export { routes }
