mirror of
https://github.com/prurigro/hypothetical.git
synced 2024-11-21 15:42:31 -05:00
Fix the 404 page for vue3
This commit is contained in:
parent
026ef6193b
commit
254ecb57cc
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue