X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=ui%2Fweb%2Fsrc%2Frouter%2Findex.ts;h=1015d92361787bd1405a90a1f38408cfad7acb43;hb=cfab8dc9ea7801746461d4e8d6ac9852deb678b5;hp=4a52c411a0cbc7ce4cb575414546c6236d07b45c;hpb=0f71040c472ecc24460c7bf791c35a9e9fbef27c;p=e-mobility-charging-stations-simulator.git diff --git a/ui/web/src/router/index.ts b/ui/web/src/router/index.ts index 4a52c411..1015d923 100644 --- a/ui/web/src/router/index.ts +++ b/ui/web/src/router/index.ts @@ -1,17 +1,17 @@ -import { createRouter, createWebHistory, type RouteRecordRaw } 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