firefish/packages/client/src/components/MkCode.vue
2023-07-20 04:17:05 +09:00

17 lines
315 B
Vue

<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>