In my Home.vue component file I have a template in side which I have a component app-server-status which i am runing as a v-for loop but it is throwing warning and shows error in my file how can I solve that I have googled a lot but didn't found any thing helpful
<template>
<div>
<app-server-status v-for="server in 4"></app-server-status> //this line shows error
</div>
</template>
<script>
import serverStatus from '../Components/ServerStatus.vue'
export default{
components: {
'app-server-status':serverStatus
}
}
</script>
The error it shows is -:
[vue/valid-v-for]
Custom elements in iteration require 'v-bind:key' directives.eslint-plugin-vue
I have not installed eslint