import EventPage from '@/pages/event/index.vue'
import EventMapPage from '@/pages/event/map.vue'
const routes = {
path: '/events',
component: EventPage,
children: [
{
path: 'map/:id',
component: EventMapPage
}
]
}
export default {
routes
}