blob: 1640258d5b102eacb74d11a8bf467ecb6c61e8c7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
<template>
<XCode :code="code" :lang="lang" :inline="inline"/>
</template>
<script lang="ts" setup>
import { defineAsyncComponent } from 'vue';
defineProps<{
code: string;
lang?: string;
inline?: boolean;
}>();
const XCode = defineAsyncComponent(() => import('@/components/MkCode.core.vue'));
</script>
|