Skip to content

Warnings in testing environment about usage of onBeforeRouteLeave without an active route record #2328

Closed Answered by posva
Sensanaty asked this question in Help and Questions
Discussion options

You must be logged in to vote

In short, MyComponent should have a <RouterView /> that should be rendering the component that contains the onBeforeRouteLeave(), otherwise it won't register the guard properly

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Sensanaty
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants