-import { type RouteRecordRaw, createRouter, createWebHistory } from 'vue-router';
-import ChargingStationsView from '@/views/ChargingStationsView.vue';
+import { type RouteRecordRaw, createRouter, createWebHistory } from 'vue-router'
+import ChargingStationsView from '@/views/ChargingStationsView.vue'
const routes: RouteRecordRaw[] = [
{
path: '/',
name: 'charging-stations',
- component: ChargingStationsView,
- },
-];
+ component: ChargingStationsView
+ }
+]
const router = createRouter({
- history: createWebHistory(process.env.BASE_URL),
- routes,
-});
+ history: createWebHistory(),
+ routes
+})
-export default router;
+export default router