params or state not working #1857
-
Hi router/ndex.js or <Button label="xx" @clik="$router.push({name: 'user', params: {id: 'xx'}})" /> or useror <Button label="user" @clik="$router.push({name: 'user', state: {id: 'xx'}})" /> if i use params it warns that it is removed. If I use state it doesn't warn but it also doesn't work. |
Beta Was this translation helpful? Give feedback.
Answered by
posva
Jun 5, 2023
Replies: 1 comment
-
state can be found in |
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
state can be found in
window.history.state
(client only)