<template>
    <div class="p-12">
        <IMdMdc :content="code" />
    </div>
</template>
<script setup>
const code = ref('')
async function getMockData () {
    const data = await $fetch('/api/mock/test', { method: 'get' })
    code.value = data
}
onMounted(() => {
    getMockData()
})
</script>