VueJs v-html

v-html will render them as plain HTML rather than encoding them.

Updates the element's innerHTML. Note that the contents are inserted as plain HTML - they will not be compiled as Vue templates.

Below the #Example 1

<!DOCTYPE html>
<html lang="en">
   <script type="text/javascript" src=""></script>
     <div id="app">
       <div v-html="content"></div>
     new Vue ({
          el: '#app',
    data: {
            content: '<h2>Hello World</h2>'

In previous example, v-text did not render the h3 tag, here we'll use v-html directive to render the <h3>