✨ Add history view

This commit is contained in:
minie4 committed 2022-04-30 18:21:45 +02:00
1 parent 63d335d04a
commit 6e118221b9
5 files changed
+166 -29

No files matched your search

+6
View File
@@ -1,6 +1,7 @@
import { createRouter, createWebHistory } from "vue-router";
import TimetableView from "../views/TimetableView.vue";
import SubstitutionView from "../views/SubstitutionView.vue";
import HistoryView from "../views/HistoryView.vue";
const router = createRouter({
history: createWebHistory(import.meta.env.BASE_URL),
@@ -19,6 +20,11 @@ const router = createRouter({
name: "Substitutions",
component: SubstitutionView,
},
{
path: "/history",
name: "History",
component: HistoryView,
},
],
});