Added catchall path
This commit is contained in:
parent
418bb83076
commit
b23b40bdcd
1 changed files with 5 additions and 0 deletions
|
|
@ -85,6 +85,11 @@ const router = createRouter({
|
||||||
component: () => import('../views/ProgressDetailView.vue'),
|
component: () => import('../views/ProgressDetailView.vue'),
|
||||||
meta: { requiresAuth: true },
|
meta: { requiresAuth: true },
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
path: '/:pathMatch(.*)*',
|
||||||
|
name: 'not-found',
|
||||||
|
component: () => import('../views/NotFoundView.vue'),
|
||||||
|
},
|
||||||
],
|
],
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue