[Vuejs]-Vue.js: Dynamically render html in child component's slot

0👍

What you trying to do can be achieved with v-html. You can use it while calling your ChildComponent.vue. This is a small example for your case:

<Alert>
   <span v-html="alert.message"></span>
</Alert>

Leave a comment