feat: add image module
This commit is contained in:
1 parent
e56325677c
commit
f4c481b81d
10 files changed
+68
-48
No files matched your search
@@ -0,0 +1,10 @@
|
||||
<script setup lang="ts">
|
||||
const { src } = defineProps<{ src: string }>();
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<figure>
|
||||
<img :src="`/images/posts/${src}`" />
|
||||
<figcaption class="text-center"><Markdown /></figcaption>
|
||||
</figure>
|
||||
</template>
|
||||
Reference in new issue
Block a user