Skip to content

apply tailwind classes in v-show transition to more than 2 elements #3062

Discussion options

You must be logged in to vote

The correct way to do this in Vue is to have the two <section> as siblings wrapped in one parent <transition> element, and then set the mode of the transition to out-in. You can see the Vue documentation for this here: https://vuejs.org/v2/guide/transitions.html#Transition-Modes

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@apithy-isidro-martinez
Comment options

@mattaningram
Comment options

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