Switch log messages to string literal
[e-mobility-charging-stations-simulator.git] / ui / web / src / router / index.ts
... / ...
CommitLineData
1import { createRouter, createWebHistory } from 'vue-router';
2import type { RouteRecordRaw } from 'vue-router';
3import ChargingStationsView from '@/views/ChargingStationsView.vue';
4
5const routes: 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;