fix(05-02): rebuild Alert sans UAlert, ProseImg img natif, test.vue layout propre

This commit is contained in:
2026-04-21 15:24:22 +02:00
parent e1c91e583f
commit 9849c18da4
3 changed files with 116 additions and 32 deletions
+4 -6
View File
@@ -6,19 +6,17 @@ interface Props {
width?: string | number
height?: string | number
}
const props = withDefaults(defineProps<Props>(), {
alt: '',
})
const props = withDefaults(defineProps<Props>(), { alt: '' })
</script>
<template>
<NuxtImg
<img
:src="props.src"
:alt="props.alt"
:title="props.title"
:width="props.width"
:height="props.height"
format="webp"
class="rounded-lg w-full"
loading="lazy"
class="not-prose my-6 w-full rounded-lg"
/>
</template>