<Transition> inside a <RouterView> Component, the watch function will be executed first, is that right? #1943
Unanswered
Dreamer-Paul
asked this question in
Help and Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to make a animation with route changed,
<Transition>
component is a good plan. I referred to the documentation to use, it works. but had a little problem.I wrote a
watch
function in the route component, but it executed first when the component will be unmounted.Expected behavior
Actual behavior
Demo
CodeSandBox
Beta Was this translation helpful? Give feedback.
All reactions