Update to poolifier 2.3.1
[e-mobility-charging-stations-simulator.git] / src / ui / web / src / router / index.ts
CommitLineData
6c1761d4
JB
1import { createRouter, createWebHistory } from 'vue-router';
2import type { RouteRecordRaw } from 'vue-router';
32de5a57
LM
3import ChargingStationsView from '@/views/ChargingStationsView.vue';
4
5const routes: Array<RouteRecordRaw> = [
6 {
7 path: '/',
8 name: 'charging-stations',
9 component: ChargingStationsView,
10 },
11];
12
13const router = createRouter({
14 history: createWebHistory(process.env.BASE_URL),
15 routes,
16});
17
18export default router;