mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-17 03:14:46 +00:00
21 lines
343 B
Vue
21 lines
343 B
Vue
|
<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>
|