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