1
0

fix(ImgFigure): better template HTML

This commit is contained in:
2024-06-21 08:27:34 +02:00
parent c4b8561997
commit 3c1f95664c

View File

@@ -1,6 +1,8 @@
<template>
<img :alt="alt" :src="src" />
<figcaption><slot></slot></figcaption>
<figure>
<img :alt="alt" :src="src" />
<figcaption><slot></slot></figcaption>
</figure>
</template>
<script setup lang="ts">