<div id="app">
  <h1>ソイヤ</h1>
  <button @click="soiya">クリックでソイヤ</button>
  <button @dblclick="soiya">ダブルクリックでソイヤ</button>
  <button @mouseOver="soiya">ホバー時にソイヤ</button>
</div>
<script src="https://cdn.jsdelivr.net/npm/vue@2.5.13"></script>
#app{
  width: 300px;
  margin: 50px auto;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

button{
  width: 100%;
  height: 50px;
  margin-bottom: 30px;
  background: #545454;
  color: #fff;
  border: none;
  border-radius: 30px;
}
let vm = new Vue({
  el : '#app',
  methods : {
    soiya(){
      alert('ウェイソイヤw')
    }
  }
})

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.