1👍
You can iterate over your checkbox-array and then display those checkboxes over a CSS grid.
.grid-box {
display: grid;
grid-template-colums: repeat(5, 1fr);
grid-gap: 10px;
}
<div class="grid-box">
<Checkbox v-for="(checkbox, index) in checkboxList" :key="index" />
</div>
You can read more about CSS-Grid here.
- [Vuejs]-How I Can Change The Another Component Data on VueJS
- [Vuejs]-Vuejs: 400 BAD REQUEST on patch ajax with vue-resoure and Laravel
Source:stackexchange.com