fix(ImgFigure): better template HTML

This commit is contained in:
Lucien Cartier-Tilet 2024-06-21 08:27:34 +02:00
parent c4b8561997
commit 3c1f95664c
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA

View File

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