loop array index vu code example
Example: vue js v-for array index
<ul>
<li v-for="(val, index) in arr">
<!-- Do something... -->
</li>
</ul>
<ul>
<li v-for="(val, index) in arr">
<!-- Do something... -->
</li>
</ul>