add 404 page

This commit is contained in:
Bnyro
2022-08-22 13:51:44 +02:00
parent b16c1ca465
commit ad0b7db95a
4 changed files with 29 additions and 5 deletions

View File

@@ -80,6 +80,11 @@ const routes = [
name: "Playlists",
component: () => import("../components/PlaylistsPage.vue"),
},
{
path: "/:pathMatch(.*)*",
name: "Page Not Found",
component: () => import("../components/PageNotFound.vue"),
},
];
const router = createRouter({