mirror of
https://github.com/imezx/Warp.git
synced 2025-04-25 15:40:02 +00:00
18 lines
413 B
Vue
18 lines
413 B
Vue
<script setup lang="ts">
|
|
import { defineAsyncComponent } from 'vue'
|
|
import type { DefaultTheme } from 'vitepress/theme'
|
|
|
|
defineProps<{
|
|
carbonAds: DefaultTheme.CarbonAdsOptions
|
|
}>()
|
|
|
|
const VPCarbonAds = __CARBON__
|
|
? defineAsyncComponent(() => import('./VPCarbonAds.vue'))
|
|
: () => null
|
|
</script>
|
|
|
|
<template>
|
|
<div class="VPDocAsideCarbonAds">
|
|
<VPCarbonAds :carbon-ads="carbonAds" />
|
|
</div>
|
|
</template>
|