X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=ui%2Fweb%2Fsrc%2Frouter%2Findex.ts;fp=ui%2Fweb%2Fsrc%2Frouter%2Findex.ts;h=1015d92361787bd1405a90a1f38408cfad7acb43;hb=66a7748ddeda8c94d7562a1ce58d440319654a4c;hp=4e731af0fc1f4d1aa14b8da8f6e58ad9bc574997;hpb=f5a1ff8ce8f87a149791c2c98fe7c5e8a20b5392;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