[FEAT] 404 page

This commit is contained in:
2026-01-02 21:35:55 +01:00
parent ce69598175
commit e481a6e897
2 changed files with 32 additions and 0 deletions

View File

@@ -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) {