feat: vue router and quality of life icons
TS Lint / Oxlint (push) Successful in 48s
TS Lint / TypeScript (push) Successful in 56s
TS Lint / ESLint (push) Successful in 59s

This commit is contained in:
2026-07-14 12:32:41 +02:00
parent 531b976b87
commit 210f7c5cf4
13 changed files with 270 additions and 112 deletions
+15
View File
@@ -0,0 +1,15 @@
import { createRouter, createWebHistory } from "vue-router";
import HomeView from "@/views/HomeView.vue";
import ListView from "@/views/ListView.vue";
import NotFoundView from "@/views/NotFoundView.vue";
const router = createRouter({
history: createWebHistory(),
routes: [
{ path: "/", component: HomeView },
{ path: "/:pathMatch([\\w-]+)", component: ListView },
{ path: "/:pathMatch(.*)", component: NotFoundView },
],
});
export default router;