X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=ui%2Fweb%2Fsrc%2Frouter%2Findex.ts;h=1015d92361787bd1405a90a1f38408cfad7acb43;hb=17ba3be0bb5c0bcb7fff2cefa877af975c0d043a;hp=4e731af0fc1f4d1aa14b8da8f6e58ad9bc574997;hpb=2cddfd51bc02035aa62d69916c7f4b3c7b04ad01;p=e-mobility-charging-stations-simulator.git diff --git a/ui/web/src/router/index.ts b/ui/web/src/router/index.ts index 4e731af0..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(), - routes, -}); + routes +}) -export default router; +export default router