From 9efe4b29b9b8a9ec4602e90289db56f4fca2750b Mon Sep 17 00:00:00 2001 From: Andras Bacsai <5845193+andrasbacsai@users.noreply.github.com> Date: Mon, 31 Mar 2025 14:56:54 +0200 Subject: [PATCH] Update index.ts --- vue/spa-router/src/router/index.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/vue/spa-router/src/router/index.ts b/vue/spa-router/src/router/index.ts index 2596945..a49ae50 100644 --- a/vue/spa-router/src/router/index.ts +++ b/vue/spa-router/src/router/index.ts @@ -16,8 +16,7 @@ const router = createRouter({ // this generates a separate chunk (About.[hash].js) for this route // which is lazy-loaded when the route is visited. component: () => import('../views/AboutView.vue') - }, - { path: '/:pathMatch(.*)', component: NotFoundComponent } + } ] })