chore(docs): update repl

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
braks
2022-12-29 18:58:51 +01:00
committed by Braks
parent 3701ddcbc9
commit 8531ee3ad5
4 changed files with 34 additions and 33 deletions
+3 -2
View File
@@ -1,5 +1,6 @@
<script>
<script lang="ts">
import { isClient } from '@vueuse/core'
import { Suspense } from 'vue'
import DocsRepl from './DocsRepl.vue'
export default defineComponent({
@@ -8,7 +9,7 @@ export default defineComponent({
return () => {
if (!isClient) return null
return h(DocsRepl, props)
return h(Suspense, h(DocsRepl, props))
}
},
})