refactor: migrate to nuxt
This commit is contained in:
16
components/WrapperMd.vue
Normal file
16
components/WrapperMd.vue
Normal file
@@ -0,0 +1,16 @@
|
||||
<script lang="ts" setup>
|
||||
defineProps<{
|
||||
frontmatter: {
|
||||
title: string
|
||||
}
|
||||
}>()
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div m="t-4" class="max-w-900px m-auto text-left">
|
||||
<h3 text="center 3xl" font="serif !black">
|
||||
{{ frontmatter?.title }}
|
||||
</h3>
|
||||
<slot class="markdown-body" />
|
||||
</div>
|
||||
</template>
|
||||
Reference in New Issue
Block a user