Nuxt/test/fixtures/basic/components/DelayedModel.vue

16 lines
230 B
Vue
Raw Normal View History

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