Reputation: 169
Is it possible to dynamic load vue components with v-for?
data: {
"components" : [
{"type": "my-first"},
{"type": "my-second"}
]
}
<component v-for="com in components" is="com.type"></component>
I have seen an example with v-repeat but this is deprecated in Vue 1.0. link
Upvotes: 1
Views: 457