towhid
3 months ago
47
2
Vue

why this error show in my editor how to solve this error ?

Posted 3 months ago by towhid
<li v-for="ninja in ninjas">{{ninja}}</li>

The li element represents a list item. If its parent element is an ol, ul, or menu element, then the element is an item of the parent element's list, as defined for those elements. Otherwise, the list item has no defined list-related relationship to any other li element.

[vue/require-v-for-key] Elements in iteration expect to have 'v-bind:key' directives.eslint-plugin-vue

Please sign in or create an account to participate in this conversation.