[FEAT] 404 page
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user