We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
navigate
When using router navigate, I get error from router
vue-router.esm.js?8c4f:1244 Uncaught TypeError: Cannot read properties of undefined (reading 'metaKey')
Version of Vue "vue": "^2.6.10" "vue-router": "^3.5.2"
"vue": "^2.6.10"
"vue-router": "^3.5.2"
To Reproduce
<router-link v-slot="{navigate}" custom :to="{ name: 'Page' }"> <div v-debounce:200="navigate" debounce-events="click"> Button </div> </router-link>
The text was updated successfully, but these errors were encountered:
Interesting, nice catch. So many different usage areas for the tool.
I'll get a testing environment setup with router and see if I can't do a little research.
Sorry, something went wrong.
No worries, I did some work around using route and in debounce () => $router.push(route.fullPath) so
route
() => $router.push(route.fullPath)
<router-link v-slot="{route}" custom :to="{ name: 'Page' }"> <div v-debounce:200="() => $router.push(route.fullPath)" debounce-events="click"> Button </div> </router-link>
Great job btw, it works for everything else and works very well ;)
No branches or pull requests
When using router navigate, I get error from router
Version of Vue
"vue": "^2.6.10"
"vue-router": "^3.5.2"
To Reproduce
The text was updated successfully, but these errors were encountered: