mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-14 10:04:05 +00:00
19 lines
453 B
Vue
19 lines
453 B
Vue
<template>
|
|
<div>
|
|
<ClientOnlyScript class="client-only-script" foo="bar" />
|
|
<ClientOnlySetupScript class="client-only-script-setup" foo="hello">
|
|
<template #test>
|
|
<div class="slot-test">
|
|
Hello
|
|
</div>
|
|
</template>
|
|
</ClientOnlySetupScript>
|
|
<ClientOnly>
|
|
Should not be server rendered.
|
|
<template #fallback>
|
|
<div>Fallback</div>
|
|
</template>
|
|
</ClientOnly>
|
|
</div>
|
|
</template>
|