4👍
✅
- Make the
<transition-group>
name="list"
a property that reacts todata
with:name="animToUse"
- Put
animToUse
as a property ondata
- 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
Source:stackexchange.com