chore(docs): update deps
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
@@ -1,13 +1,14 @@
|
||||
<script lang="ts">
|
||||
import { isClient } from '@vueuse/core'
|
||||
import { inBrowser } from 'vitepress'
|
||||
import { Suspense } from 'vue'
|
||||
import DocsRepl from './DocsRepl.vue'
|
||||
|
||||
const DocsRepl = defineAsyncComponent(() => import('./DocsRepl.vue'))
|
||||
|
||||
export default defineComponent({
|
||||
props: ['example'],
|
||||
setup(props) {
|
||||
return () => {
|
||||
if (!isClient) {
|
||||
if (!inBrowser) {
|
||||
return null
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user