mirror of
https://github.com/HoshinoSuzumi/rayine-ui.git
synced 2025-04-16 12:48:50 +08:00
🐛 make shiki client-only
This commit is contained in:
parent
6304d03e16
commit
6ff37c3ebd
@ -72,7 +72,9 @@ defineProps({
|
|||||||
|
|
||||||
<template v-if="slots.code">
|
<template v-if="slots.code">
|
||||||
<div class="p-4 overflow-auto">
|
<div class="p-4 overflow-auto">
|
||||||
<Shiki class="text-sm" :lang="lang" :code="codeSlotContent" />
|
<ClientOnly>
|
||||||
|
<Shiki class="text-sm" :lang="lang" :code="codeSlotContent" />
|
||||||
|
</ClientOnly>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user