1
0
mirror of https://github.com/nuxt/nuxt.git synced 2025-03-24 18:16:36 +00:00
Nuxt/test/fixtures/basic/components/EventView.vue
Michael Brevard 5e61eb567d
feat(nuxt): delayed/lazy hydration support ()
Co-authored-by: Daniel Roe <daniel@roe.dev>
2025-03-01 00:41:43 +00:00

11 lines
195 B
Vue

<template>
<div>
This {{ mounted ? 'is' : 'is not' }} mounted.
</div>
</template>
<script setup lang="ts">
const mounted = ref(false)
onMounted(() => { mounted.value = true })
</script>