Vue.js question detail
What is the purpose of html directive?
The v-html directive is used to update the inner html of a DOM element with latest data. It is similar to
innerHTML property in DOM.
The example usage of this directive as shown below,
Note: This directive should be used with trused content only but not on user provided content. Otherwise it can leads to XSS vulnerabilities.