Answers for "v-for with a number"

0

v-for with a number

<ul>
  <li v-for="index in 10" :key="index">
    {{ shoppingItems[index].name }} - {{ shoppingItems[index].price }}
  </li>
</ul>
Posted by: Guest on November-03-2020

Browse Popular Code Answers by Language