title: A Function inside a string
body: <p>I wrote some code like below.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>new Vue({
    el: '#app',
    data: {
        message: "&lt;a href='#' v-on:click='alertMe()'&gt;alert me &lt;/a&gt;"
    },
    methods:{
      alertMe() {
          console.log('fired')
        }
    }
    
  })</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script src="https://unpkg.com/vue"&gt;&lt;/script&gt;
  
  &lt;div id="app"&gt;
    &lt;p v-html="message"&gt;&lt;/p&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>I write code like this. the function is not triggering. Is there any way to trigger it.
  Here is the JSfiddle link <a href="https://jsfiddle.net/arafath077/tm75sqv2/1/" rel="nofollow noreferrer">Js Fiddle</a></p>