Nuxt/test/fixtures/basic/components/EventView.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

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>