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) {