What I'm trying to achieve is this: I have a parent component in which I need to display 4 items of image+name of a client. I have a list of about 26 clients (name and url to the logo), and I need to display only 4 at a time, and autogenerate the necessary childrens.
I have problems trying to achive a clean code for this, can someone give me some pointers on how to achieve that? Thanks in advance!
tldr: How can I let vue know that it must add a new v-window-item after 4 iterations of client data.
edit: adding example
<v-window>
<v-window-item>
<div v-for="n in items" :key="`div-${n}`>
<v-image src="n.url"></v-image>
<p>{{n.title}}</p>
</div>
</v-window-item>
</v-window>
Here I get all the divs together, in one v-window-item. I would need to generate +1 v-window-item every 4 divs, so I display only 4 at the time.