[Vuejs]-Display data from a JSON file in a list, how to access parts in a Javascript object

0👍

I don’t know Vue, but if languages is already an array, why do you not pass directly to ref() ?

const allLangauges = ref(languages);

Then, when you iterate on language, you should have an object and not an array because it’s looks like this (for me, if I understand):

[[{object}, {object}, ...]]

0👍

Is this what you looking for display? do you forget to return the data? try my sample here >>> Sample

Sample

Leave a comment