Commit | Line | Data |
---|---|---|
66a7748d JB |
1 | import { type RouteRecordRaw, createRouter, createWebHistory } from 'vue-router' |
2 | import ChargingStationsView from '@/views/ChargingStationsView.vue' | |
32de5a57 | 3 | |
5f7e72c1 | 4 | const routes: RouteRecordRaw[] = [ |
32de5a57 LM |
5 | { |
6 | path: '/', | |
7 | name: 'charging-stations', | |
a807045b JB |
8 | component: ChargingStationsView, |
9 | }, | |
66a7748d | 10 | ] |
32de5a57 LM |
11 | |
12 | const router = createRouter({ | |
2cddfd51 | 13 | history: createWebHistory(), |
a807045b | 14 | routes, |
66a7748d | 15 | }) |
32de5a57 | 16 | |
66a7748d | 17 | export default router |