Skip to content

Instantly share code, notes, and snippets.

@matthieu-D
Created February 27, 2018 11:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matthieu-D/ec17f9d2f18188d5438ef4db1059bc15 to your computer and use it in GitHub Desktop.
Save matthieu-D/ec17f9d2f18188d5438ef4db1059bc15 to your computer and use it in GitHub Desktop.
<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