Created
February 27, 2018 11:45
-
-
Save matthieu-D/ec17f9d2f18188d5438ef4db1059bc15 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
<div id="app"> | |
<div> | |
{{this.$store.state.count}} | |
</div> | |
<button @click="incrementCounter"> | |
Increment counter | |
</button> | |
<button @click="decrementCounter"> | |
Decrement counter | |
</button> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment