Created
May 13, 2019 02:45
-
-
Save tdondich/720b287914bbec552e2418ea6cf0abb3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let app = new Vue({ | |
el: '#counterApp', | |
data() { | |
return { | |
counter: 0 | |
} | |
}, | |
methods: { | |
increment() { | |
this.counter++; | |
} | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment