Go back to Examples

Concatenate collections

CMS - Intermediate

Concat method concatenates collection lists together allowing looping of both together.

                <template v-for="tutorial in videoTutorials.concat(articleTutorials)">
    <div>
        <h1 v-html="tutorial.name"></h1>
    </div>
</template>