Render lists 2 22 / 42
v-for
does not only work on arrays but also on objects, numbers, strings, and iterables.
When iterating over an object the first argument will be the value, followed by the key and finally the index.
Try iterating over a number.
Solution
<li
v-for="number in 5"
:key="number"
>{{ number }}</li>