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