[Vuejs]-Disable a transition when changing page

4👍

  1. Make the <transition-group> name="list" a property that reacts to data with :name="animToUse"
  2. Put animToUse as a property on data
  3. Change animToUse to a non transition whenever you don’t want the transition

If you are using vue-router see it’s docs about transitions: Route-Based Dynamic Transition

Leave a comment