[Vuejs]-Using And Adding Vue Components On Runtime

0πŸ‘

βœ…

I found my answer after a while.

First : Don’t use original tag names as component name (i used header and link)

Second : I used the template below in document.vue file

<div v-for="c in components" class="component">
     <component v-bind:is="c.type"></component>
</div>

Leave a comment