VUE JS V-FOR ÍNDICE DE MATRAY
<ul>
<li v-for="(val, index) in arr">
<!-- Do something... -->
</li>
</ul>
garzj
<ul>
<li v-for="(val, index) in arr">
<!-- Do something... -->
</li>
</ul>
<option v-for="(location, index) in locations" v-bind:value="location.id" v-bind:selected="index === 0">
{{ location.from }} - {{ location.to }}
</option>
<ul>
<li v-for="(item, index) in items">
{{ index }} - {{ item }}
</li>
</ul>