refactor(ui): remove uneeded helpers
[e-mobility-charging-stations-simulator.git] / ui / web / src / router / index.ts
... / ...
CommitLineData
1import { type RouteRecordRaw, createRouter, createWebHistory } from 'vue-router'
2import ChargingStationsView from '@/views/ChargingStationsView.vue'
3
4const routes: RouteRecordRaw[] = [
5 {
6 path: '/',
7 name: 'charging-stations',
8 component: ChargingStationsView
9 }
10]
11
12const router = createRouter({
13 history: createWebHistory(),
14 routes
15})
16
17export default router