Nuxt/test/fixtures/basic/components/DelayedModel.vue
Michael Brevard 281a931a0a
feat(nuxt): delayed/lazy hydration support (#26468)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2025-02-28 23:19:17 +00:00

16 lines
262 B
Vue

<template>
<div>
<span data-testid="count">{{ model }}</span>
<button
data-testid="increment"
@click="model++"
>
Increment
</button>
</div>
</template>
<script setup lang="ts">
const model = defineModel<number>()
</script>