<li v-for="(value, key) in {facebook: [data], twitter: [data]}">
<i class="icon" :class="key"></i>
....
</li>
Error: [Vue warn]: Trying to access non-existent property "key" while rendering.
How can I bind key in attributes of li's children? It only works in li itself.