title: vue + pure html component?
body: <p>how to implement vue-cli calling pure html method?</p>
  <p>Please check below as sample file. because I have custom pure html code and facing difficulty converting it to vuejs.</p>
  <p>product.vue</p>
  <pre><code>&lt;template&gt;
      &lt;custombutton @childclick=&quot;childclick&quot; /&gt;
  &lt;/template&gt;
  
  &lt;script&gt;
  export default {
     component: { custombutton },
     methods: {
      childclick(value) {
           console.log(value)
         }
     }
  }
  &lt;/script&gt;
  </code></pre>
  <p>custombutton.html</p>
  <pre><code>&lt;html&gt;
  &lt;body&gt;
   &lt;button @click=&quot;childclick&quot; /&gt;
  &lt;/body&gt;
      &lt;script src=&quot;https://cdnjs.cloudflare.com/ajax/libs/vue/2.2.6/vue.min.js&quot;&gt;&lt;/script&gt;
  &lt;script&gt;
  var App = new Vue({
    el: '#app',
    data() {
      return {
        vueMessage: 'testing vue message',
      }
    },
  
    methods: {
      childclick() {
         this.$emit('childclick', 'success!')
      }
  
    },
  });
  &lt;/script&gt;
  &lt;/html&gt;
  </code></pre>