mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-12-20 01:28:09 +09:00
18 lines
314 B
Vue
18 lines
314 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>
|