Vue.JS, Chunk array

Posted 3 years ago by strategicsdemexico

I would like to implement a code to display images with v-repeat on Vue

<div class="row" v-repeat="photo in photos">
    <div class=col-md-4">
        <img v-attr="src: photo.url" alt="{{ photo.caption }}">
    </div>
</div>

How I would do that for each 3 photos create a new row

Please sign in or create an account to participate in this conversation.