Nuxt/test/fixtures/basic/components/clientFallback/Stateful.vue

21 lines
345 B
Vue
Raw Normal View History

<template>
<div>
stateful test {{ state }}
<NuxtClientFallback>
<BreakInSetup class="clientfallback-stateful" />
</NuxtClientFallback>
</div>
</template>
<script>
export default defineNuxtComponent({
name: 'ClientFallbackStateful',
setup () {
const state = ref(0)
return {
state,
}
},
})
</script>