mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 14:15:13 +00:00
df04a665ce
Co-authored-by: Pooya Parsa <pooya@pi0.io>
29 lines
859 B
Vue
29 lines
859 B
Vue
<script setup lang="ts">
|
|
onMounted(() => import('~/components/BreaksServer'))
|
|
onBeforeMount(() => import('~/components/BreaksServer'))
|
|
onBeforeUpdate(() => import('~/components/BreaksServer'))
|
|
onRenderTracked(() => import('~/components/BreaksServer'))
|
|
onRenderTriggered(() => import('~/components/BreaksServer'))
|
|
onActivated(() => import('~/components/BreaksServer'))
|
|
onDeactivated(() => import('~/components/BreaksServer'))
|
|
onBeforeUnmount(() => import('~/components/BreaksServer'))
|
|
</script>
|
|
|
|
<template>
|
|
<div>
|
|
This page should not crash when rendered.
|
|
<ClientOnly class="something">
|
|
test
|
|
<BreaksServer />
|
|
<BreaksServer>Some slot content</BreaksServer>
|
|
</ClientOnly>
|
|
This should render.
|
|
<div>
|
|
<ClientOnly class="another">
|
|
test
|
|
<BreaksServer />
|
|
</ClientOnly>
|
|
</div>
|
|
</div>
|
|
</template>
|