How do I know where router.back() will take me in Vue Router? #1633
-
|
How do I know where router.back() will take me in Vue Router? |
Beta Was this translation helpful? Give feedback.
Answered by
posva
Apr 30, 2026
Replies: 1 comment
-
|
You can't know, that's a history api limitation. You could track it with |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
posva
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can't know, that's a history api limitation. You could track it with
router.afterEach()