You can use index (i) instead of value (n), it will start with 0:
<div v-for="(n, i) in 10">{{ i }}</div>
Output:
0
1
2
...
You can use index (i) instead of value (n), it will start with 0:
<div v-for="(n, i) in 10">{{ i }}</div>
Output:
0
1
2
...