The example code is below:
In this code, <ul> executes the loop 7 times, But I need it to print arr[0], arr[1] in the <li> tag respectively. But, in the next time, I want the index value increment by 2, so that it prints arr[2], arr[3] and again increment the index value by 2, index becomes 4 and it prints arr[4] and arr[5] and so on. Thank you in advance for the solution.
<ul class="columns" v-for="index in 7" :key="index">
<li>
arr[index]
</li>
<li>
arr[index+1]
</li>
</ul>