[Vuejs]-Having a vue variable in a tag in the template section

0👍

this dynamic-props

id="collapse-" + product.id` 
:id="'collapse-' + product.id"`

//Similar thing on
:id=product.title
data-target="#collapse-" + product.id
aria-controls="collapse-" + product.id
:aria-labelledby=product.id

This v-for="childProduct in products" is the same loop that you’re already in, maybe here a tags loop

Leave a comment