I'm trying to render html with some defined syntax. And I change the syntax to the Vue component tag ProductRow
When i using it like this, it will work.
computed: {
productRow() {
return defineAsyncComponent(() => import("@/Component/ProductRow"))
}
}
<component :is="productRow" :product="product"></component>
But, I need it render combine with some html (from server and can be changed) like:
<div>
<product-row :product="product"/>
</div>
How should I do? Thank you for any suggestion.