<div id="app">
  <super-like></super-like>
  <super-like></super-like>
  <super-like></super-like>
</div>
<script src="https://cdn.jsdelivr.net/npm/vue"></script>
#app{
  text-align: center;
  margin-top: 10px;
}

button{
  background: lightskyblue;
  padding: 1em;
  width: 300px;
  color: #333;
  border-radius: 30px;
  border: none;
  margin: 10px 5px;
}
let superLike = Vue.extend({
  template : '<button @click="count">超イイネ!!{{ num }}</button>',
  data : function(){
    return {
      num : 0
    }
  },
  methods : {
    count : function() {
      this.num ++ ;
    }
  } 
})

let vm = new Vue({
  el : '#app',
  components : {
    'super-like': superLike
  }
})

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.