It is possible in vuejs to v-for a loop like php?
I want this output:
<select>
<option>2</option>
<option>1</option>
<option>0</option>
</select>
My code (ticket.quantity = 2):
<select>
<option v-for="index in ticket.quantity" :value="index" :key="index">{{index}}</option>
</select>
My output:
<select>
<option>2</option>
</select>