learnin-some-vue/app.js
Tyrel Souza 1ac671e702
@click
2018-04-13 13:44:28 -04:00

12 lines
124 B
JavaScript

var app = new Vue({
el: '#app',
data: {
counter: 0
},
methods:{
click(){
this.counter++;
}
}
})