From e481a6e897d6159772542a27a6c71c9941c0e4cb Mon Sep 17 00:00:00 2001 From: root Date: Fri, 2 Jan 2026 21:35:55 +0100 Subject: [PATCH] [FEAT] 404 page --- src/router/index.ts | 5 +++++ src/views/NotFound.vue | 27 +++++++++++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 src/views/NotFound.vue diff --git a/src/router/index.ts b/src/router/index.ts index 665ee18..18e5973 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -49,6 +49,11 @@ const router = createRouter({ name: 'editor', component: () => import('../views/EditorView.vue'), }, + { + path: '/:pathMatch(.*)*', + name: 'not-found', + component: () => import('../views/NotFound.vue'), + }, ], scrollBehavior(to, from, savedPosition) { if (savedPosition) { diff --git a/src/views/NotFound.vue b/src/views/NotFound.vue new file mode 100644 index 0000000..4dac06a --- /dev/null +++ b/src/views/NotFound.vue @@ -0,0 +1,27 @@ + + +