I have a Vue template wich recieves a json string as data:
<component data="{{ object.toJson() }}"></component>
object consists out of a name and an array of strings. I now have this in my
<template>
<ul>
<li v-for="url in object.data['urls']">{{ url }}</li>
</ul>
</template>
This however is giving errors on my linter and I was wondering why. This is exactly as according to the Vue examples posted on the documentation.
error Elements in iteration expect to have 'v-bind:key' directives vue/require-v-for-key