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>
Source:stackexchange.com
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>