In my Grid component, I retrieve JSON data from a server and render it. The data mainly consists of strings and integers, but sometimes includes HTML elements like
<strong>myvalue</stong>
. In order to properly display the data, I use triple brackets {{{
and }}}
.
The issue arises when the HTML in the JSON is not standalone, but rather a component like
<my-component my-param="1"></my-component>
. How can I instruct Vue.js to render this particular component instead of just displaying the HTML code?
Any assistance would be greatly appreciated.