mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-24 13:09:07 +01:00
16 lines
309 B
Vue
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>
|