This commit is contained in:
2025-11-25 22:41:29 +00:00
parent 12cf1aef62
commit d448eeff90
4 changed files with 13 additions and 4 deletions

View File

@@ -17,6 +17,16 @@ const router = createRouter({
// which is lazy-loaded when the route is visited.
component: () => import("../views/CV.vue"),
},
{
path: "/bookmarks",
name: "bookmarks",
component: () => import("../views/Bookmarks.vue"),
},
{
path: "/:pathMatch(.*)*",
name: "404",
component: () => import("../views/404.vue"),
},
],
});

View File

@@ -10,10 +10,10 @@ import CurrentlyListening from "@/components/CurrentlyListening.vue";
<p>Hi im Adam</p>
<h2>cv</h2>
<RouterLink to="/cv">CV</RouterLink>
<RouterLink to="/cv">cv</RouterLink>
<h2>bookmarks</h2>
<a href="/pages/bookmarks.html">bookmarks</a>
<RouterLink to="/bookmarks">bookmarks</RouterLink>
<CurrentlyListening />