Skip to content

How to make route transitions? #352

Answered by jbaubree
Arturexe asked this question in Q&A
Discussion options

You must be logged in to vote

I think you can use:

<RouterView v-slot="{ Component }">
  <Transition name="fade" mode="out-in">
    <component :is="Component" />
  </Transition>
</RouterView>

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@Arturexe
Comment options

@Arturexe
Comment options

@jbaubree
Comment options

@jbaubree
Comment options

Answer selected by Arturexe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants