<transition-group class="carousel-inner" name="list-complete" tag="div">
<div v-for="(show,index) in shows" class="item" :key="show.id">
<img :src=""../static/images/"+show.img" :alt="show.id">
<div class="list-inner">
<h3>{{show.h}}</h3>
{{show.p}}
<div><a class="btn">{{show.a}}</a></div>
</div>
</div>
</transition-group>
Why does key bind to show.id to animate (: key= "show.id")
bind to index but not animate (: key= "index")