vue numbers only input code example
Example: number only input vue
<div id="demo">
<input v-model="message" @keypress="isNumber($event)">
</div>
<div id="demo">
<input v-model="message" @keypress="isNumber($event)">
</div>