[Vuejs]-How can i use computed property in v-for

0👍

like this:

<span v-for="(index,key) in currentIndex" :key="key">

  {{index}}

</span>

you should edit element and content depending on what do you want to do in your template.

👤Kaan G

Leave a comment