Display unescaped HTML in Vue.js

后端 未结 5 2119
孤城傲影
孤城傲影 2020-11-28 04:02

How can I manage to get HTML interpreted inside a mustache binding? At the moment the break (
) is just displayed/escaped.

Small Vue app:

5条回答
  •  北荒
    北荒 (楼主)
    2020-11-28 04:50

    You have to use v-html directive for displaying html content inside a vue component

提交回复
热议问题