2022-07-07 16:04:38 +00:00
|
|
|
<script setup lang="ts">
|
2022-10-11 15:26:03 +00:00
|
|
|
// explicit import to bypass client import protection
|
|
|
|
import BreaksServer from '../components/BreaksServer.client'
|
|
|
|
|
|
|
|
onMounted(() => import('~/components/BreaksServer.client'))
|
|
|
|
onBeforeMount(() => import('~/components/BreaksServer.client'))
|
|
|
|
onBeforeUpdate(() => import('~/components/BreaksServer.client'))
|
|
|
|
onRenderTracked(() => import('~/components/BreaksServer.client'))
|
|
|
|
onRenderTriggered(() => import('~/components/BreaksServer.client'))
|
|
|
|
onActivated(() => import('~/components/BreaksServer.client'))
|
|
|
|
onDeactivated(() => import('~/components/BreaksServer.client'))
|
|
|
|
onBeforeUnmount(() => import('~/components/BreaksServer.client'))
|
2022-07-07 16:04:38 +00:00
|
|
|
</script>
|
|
|
|
|
|
|
|
<template>
|
|
|
|
<div>
|
|
|
|
This page should not crash when rendered.
|
2022-07-14 17:46:12 +00:00
|
|
|
<ClientOnly class="something">
|
|
|
|
test
|
|
|
|
<BreaksServer />
|
|
|
|
<BreaksServer>Some slot content</BreaksServer>
|
|
|
|
</ClientOnly>
|
|
|
|
This should render.
|
|
|
|
<div>
|
|
|
|
<ClientOnly class="another">
|
|
|
|
test
|
|
|
|
<BreaksServer />
|
|
|
|
</ClientOnly>
|
|
|
|
</div>
|
2022-07-07 16:04:38 +00:00
|
|
|
</div>
|
|
|
|
</template>
|