Skip to content Skip to sidebar Skip to footer

Undefined Behavior With V-for And Custom Components

First off, please excuse the awful code (we don't have time to fix right now). I know eval is horrible, but for our purposes it was the only thing that worked for us this easily. T

Solution 1:

You should always use a key when iterating with v-for. Try adding one like this.

<div class = "well" v-for = "item, index in items" :key="item">

Post a Comment for "Undefined Behavior With V-for And Custom Components"