-
-
Notifications
You must be signed in to change notification settings - Fork 5k
Mixin guard is not called when component has same guard #1519
New issue
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
Comments
After some more debugging, I think that the other problem ( Jsfiddle hook call order (on full reload) - works:
Hook call order in my app (on full reload) - fails:
|
It looks like we forgot to add the merge strategy. For the moment, adding |
@posva I'm using vue-router 2.5.3 in my app. I will check if the problem with |
@posva |
I've found the issue to my second problem. I'm opening a second report for it. |
Uh oh!
There was an error while loading. Please reload this page.
Version
2.6.0
Reproduction link
http://jsfiddle.net/3crtn7ov/12/
Steps to reproduce
What is expected?
Mixin guard:
beforeRouteUpdate
should be triggered.What is actually happening?
Mixin guard is not triggered
I initially wanted to file an issue because the
beforeRouteEnter
guard showed this behaviour, but I wasn't able to reproduce it within a jsfiddle. I'm quite sure that the bug affects also the other guard.The text was updated successfully, but these errors were encountered: