diff --git a/src/router/index.js b/src/router/index.js index d5d5687..17bdd45 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -52,6 +52,11 @@ const routes = [ } ]; +const route404 = { + path:" /:pathMatch(.*)*", + name: "404", + redirect: "/404" +} const router = createRouter({history: createWebHashHistory(), routes}) router.beforeEach((to) => {