vuejs input number only 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>