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