X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=ui%2Fweb%2Fsrc%2Frouter%2Findex.ts;h=1015d92361787bd1405a90a1f38408cfad7acb43;hb=cfab8dc9ea7801746461d4e8d6ac9852deb678b5;hp=5a6eca115af9618365f979339fed312ca325991d;hpb=cbac237384185b5debef0c1e8b21e96f730104e5;p=e-mobility-charging-stations-simulator.git diff --git a/ui/web/src/router/index.ts b/ui/web/src/router/index.ts index 5a6eca11..1015d923 100644 --- a/ui/web/src/router/index.ts +++ b/ui/web/src/router/index.ts @@ -1,17 +1,17 @@ -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