<div id="payappa">
  <p> {{ counter }} 年目の浮気ぐらい大目に見てよ</p>
  <button v-on:click="counter += 1">馬鹿いってんじゃないわ</button>
</div>
var payappa = new Vue({
  el: '#payappa',
  data: {
    counter: 3
  }
})

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

  1. https://cdnjs.cloudflare.com/ajax/libs/vue/2.5.16/vue.min.js