Vue Router not finding query params
Vue 3, Vue Router 4, web hash history router
Vue-Router render the component but doesn’t change the url
import { createMemoryHistory, createRouter } from “vue-router”; import { AuthUser } from “../../auth/user”; const routes = [ { path: “/”, component : () => import(“../components/Home/Home.vue”), beforeEnter : (to, from, next)=>{ if(!AuthUser()){ next({path : “/signup”}) }else{ next() return “” } } }, { path: “/signup”, component : () => import(“@/components/Signup/Signup.vue”), } ]; const router = createRouter({ […]