[Vuejs]-VUEJS : How to display data from an API that starts with a number variable?

1👍

When using v-for in this case v-for="item in profile" you are assigning the value of each element in that array to the key of item,

so it means that item equals to {"id" : "1234", "name" : "John Doe",...} and you dont have to access it by item[0],as i mentioned before item is already an object,so in order to access the needed values just directly write the object properties

item.name and etc..

Leave a comment