div id app count button click increment button button click decrement

1
2
3
4
5
6
7
<div id="app">
<p>{{ count }}</p>
<p>
<button @click="increment">+</button>
<button @click="decrement">-</button>
</p>
</div>