How can I repeat a loop via v-for X (e.g. 10) times?
v-for
// want to repeat this (e.g.) 10 times
You can use an index in a range and then access the array via its index:
{{ shoppingItems[index].name }} - {{ shoppingItems[index].price }}
You can also check the Official Documentation for more information.