Skip to content

Instantly share code, notes, and snippets.

@vdsabev
Last active November 13, 2020 06:13
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 vdsabev/95085ea56314a65b04b5332d7980ba0f to your computer and use it in GitHub Desktop.
Save vdsabev/95085ea56314a65b04b5332d7980ba0f to your computer and use it in GitHub Desktop.
<template>
<div>
<button type="button" @click="decrement">-</button>
<input type="text" :value="value" @input="setValue" /> <!-- we removed the argument here -->
<button type="button" @click="increment">+</button>
</div>
</template>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment