Answer the question
In order to leave comments, you need to log in
Vuejs how to access a specific object inside an array?
Good afternoon)
Please tell me how to refer to a specific object inside an array using v-for?
(5) [{…}, {…}, {…}, {…}, {…}]
0: {…}
1: {…}
2: {…}
3: {…}
4: {…}
<div v-for="item in advertisements" :key="item">
{{item.photoPath}}
</div>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question