I have a script with mock data stored in a variable named whatsHappeningItems, and I am trying to pass this data as a reference to a card component using v-for="whatsHappening in whatsHappeningItems". However, when I do this, I encounter the following error message:
[vue/valid-v-for] Custom elements in iteration require 'v-bind:key' directives.
const whatsHappening: {
title: string;
count: string;
}
Does anyone know why this error is occurring?