1
0
mirror of https://github.com/MisskeyIO/misskey synced 2024-12-15 15:18:18 +09:00
MisskeyIO/packages/frontend/src/components/MkCode.vue
2022-12-27 14:36:33 +09:00

16 lines
309 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>