“beforeRouteUpdate” and “beforeRouteLeave” in-component guards are never being called.
I tried using them in my route component and in my App.vue.
Nothing…
“beforeRouteEnter” works fine.
I navigated to other routes both by pressing the back button and by using “router.push” and “<router-link>”.
None of those called the guards.
My end goal is to use the mentioned guards to navigate to a previous step of a multi-step form when pressing the back button.
I am completely lost, spent hours on this. My app is pretty big so tell me which part of the code you would need to see.
1 post - 1 participant