<script setup lang="ts">
const lamelles_count = useState('lamelles_count', () => 3)
const lamelles = reactive({
    min: 3,
    max: 30,
    value: lamelles_count
})
const chanreParametres = () => {
    lamelles_count.value = lamelles.value
}
</script>
<template>
    <div class="container">
        <input type="number" :max="lamelles.max" :min="lamelles.min" v-model="lamelles.value" @change="chanreParametres" />
    </div>
</template>