<template>
  <m-input-number v-model="num" :min="1" :max="10" @change="handleChange" />
</template>

<script setup>
import { ref } from 'vue-demi'

const num = ref(5)
const handleChange = (value) => {
  console.log(value)
}
</script>