vue keyup enter shorthand code example
Example: @keyup.enter vue
<input v-on:keyup.enter="submit">
<!-- Also works like this: -->
<input @keyup.enter="submit">
<input v-on:keyup.enter="submit">
<!-- Also works like this: -->
<input @keyup.enter="submit">