From 254ecb57cc78515ade48414f0738615e56c553ee Mon Sep 17 00:00:00 2001 From: Kevin MacMartin Date: Mon, 1 Aug 2022 17:31:24 -0400 Subject: [PATCH] Fix the 404 page for vue3 --- resources/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/js/app.js b/resources/js/app.js index 7189498..66f6fb1 100644 --- a/resources/js/app.js +++ b/resources/js/app.js @@ -52,7 +52,7 @@ const router = new createRouter({ { path: "/", component: HomePage }, { path: "/blog", component: BlogPage }, { path: "/contact", component: ContactPage }, - { path: "/*", component: Error404Page } + { path: "/:match(.*)", component: Error404 } ], scrollBehavior(to, from, savedPosition) {