vue dynamic component with attribute code example
Example: vuejs send required props to dynamic component
<component :is="currentComponent" v-bind="currentProperties"></component>
<component :is="currentComponent" v-bind="currentProperties"></component>