I started studying vue.js, I ran into a problem: I set up a proxy, I made a request to the API of one site, I write down the answer (an array of image parameters) in data , it looks like this:

 items[data[{src="src",title="tit"}{...}{...}],meta[]] 

How with what thread js loop to get from the data array a simple html, like

 <img src="src"/> <img src="src"/> <img src="src"/> 

I understand you need to start sparss this JSON string into an array. But how to feed the same JSON.parse this vue data?

    1 answer 1

    I could do it using v-for and v-bind :

     <div v-for="item in items.data"> <img :src="item.url"> </div>