0๐
โ
If all components have the same props you can try to render them using v-for and dynamic components like this:
<component v-for="comp in comps" :is="comp" :key="comp" :isDetail="detail"/>
data: {
return {
comps: ['my-a', 'my-b', 'my-c']
}
}
Source:stackexchange.com