add 404 page

This commit is contained in:
geoffrey45
2022-03-02 10:20:31 +03:00
parent 5450a190f3
commit 9d9eed72ef
2 changed files with 17 additions and 0 deletions
+5
View File
@@ -49,6 +49,11 @@ const routes = [
name: "SettingsView",
component: SettingsView,
},
{
path: "/:pathMatch(.*)",
// alias: "*",
component: () => import("../views/NotFound.vue"),
}
];
const router = createRouter({