From 86e485c76dd098e24eed41eb3849bcd18d61538e Mon Sep 17 00:00:00 2001 From: Abdoulrachard Date: Mon, 8 Apr 2024 18:18:48 +0100 Subject: [PATCH] add notfound route where the project , actuality and equipe id dosnt exist --- src/router/index.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/router/index.js b/src/router/index.js index e12a9c8..918452d 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -99,6 +99,16 @@ const router = createRouter({ name: 'NotFound', component: NotFoundView }, + { + path: '/project/:pathMatch(.*)', + name: 'NotFound', + component: NotFoundView + }, + { + path: '/actuality/:pathMatch(.*)', + name: 'NotFound', + component: NotFoundView + }, ] })