[Vuejs]-How to rendering data from api in vue.js

0👍

You need to add :key binding:

<div class="card mb-3" v-for="(item, index) in resultList" :key="index">

key value should be unique for every item. If your list items has any id it is good idea to use this id here:

<div class="card mb-3" v-for="item in resultList" :key="item.id">

0👍

To give Vue a hint so that it can track each node’s identity, and thus reuse and reorder existing elements, you need to provide a unique key attribute for each item. check the link for better understanding
https://v2.vuejs.org/v2/guide/list.html#Maintaining-State

Leave a comment