nahuels
287
2
Vue

vue object reactivity on array

Posted 10 months ago by nahuels

Hello everyone, I need to dynamically generate an array like this

items: [{ text: 'Spain', }, { text: 'France', }, { text: 'USA', }, { text: 'Germany', }, { text: 'China', }],

from another array like this

 ["tag1","tag2","tag3", ob: Observer]

The problem is that I can not get the objects in each index of the array reactive. How can I achieve this?

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