Nuxt/test/fixtures/basic/components/DelayedModel.vue
tbitw2549 373e223268 fix: merge attrs at render
This fixes a reactivity issue and adds an accompanying test case
2024-09-14 20:43:23 +03:00

16 lines
230 B
Vue

<template>
<div>
<span id="count">{{ model }}</span>
<button
id="inc"
@click="model++"
>
Increment
</button>
</div>
</template>
<script setup lang="ts">
const model = defineModel()
</script>