mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-03 20:13:02 +00:00
add 404 page
This commit is contained in:
@@ -49,6 +49,11 @@ const routes = [
|
||||
name: "SettingsView",
|
||||
component: SettingsView,
|
||||
},
|
||||
{
|
||||
path: "/:pathMatch(.*)",
|
||||
// alias: "*",
|
||||
component: () => import("../views/NotFound.vue"),
|
||||
}
|
||||
];
|
||||
|
||||
const router = createRouter({
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
<template>
|
||||
<div class="fof">
|
||||
404! Page Not Found!
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style lang="scss">
|
||||
.fof {
|
||||
padding: 1rem;
|
||||
font-size: 2rem;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user