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
3.1.3
https://codesandbox.io/s/vue-router-undefined-error-7ltnr
next('/')
To have a proper error object thrown
Undefined object thrown Uncaught (in promise) undefined
Uncaught (in promise) undefined
This only happens when using this.$router.push. The behaviour is not present using router-link. Even though, I'd be great to always have proper errors. I suspect this is the line of code involved https://github.com/vuejs/vue-router/blob/dev/src/history/base.js#L163
this.$router.push
router-link
The text was updated successfully, but these errors were encountered:
See #3047
Sorry, something went wrong.
No branches or pull requests
Version
3.1.3
Reproduction link
https://codesandbox.io/s/vue-router-undefined-error-7ltnr
Steps to reproduce
next('/')
What is expected?
To have a proper error object thrown
What is actually happening?
Undefined object thrown
Uncaught (in promise) undefined
This only happens when using
this.$router.push
. The behaviour is not present usingrouter-link
.Even though, I'd be great to always have proper errors. I suspect this is the line of code involved https://github.com/vuejs/vue-router/blob/dev/src/history/base.js#L163
The text was updated successfully, but these errors were encountered: