vue.js for index 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>