1 import { createRouter
, createWebHistory
} from
'vue-router';
2 import type { RouteRecordRaw
} from
'vue-router';
3 import ChargingStationsView from
'@/views/ChargingStationsView.vue';
5 const routes
: Array<RouteRecordRaw
> = [
8 name
: 'charging-stations',
9 component
: ChargingStationsView
,
13 const router
= createRouter({
14 history
: createWebHistory(process
.env
.BASE_URL
),
18 export default router
;