title: How to create button from data section in vue
body: <p>I'm working with vuejs and want to create a clickable button which declared in data section. How can I do that?</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;template&gt;
      {{my_btn}}
  &lt;/template&gt;
  &lt;script&gt;
      export default {
          data() {
              return {
                  my_btn: '&lt;button class="btn btn-indigo outline" @click="sayhello"&gt;VISIT OUR WEBSITE&lt;/button&gt;'
              }
          },
           methods: {
             sayhello(){
                alert('hello');
             }
           }
      }
  &lt;/script&gt;
  </code></pre>