fix(05-02): rebuild Alert sans UAlert, ProseImg img natif, test.vue layout propre
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user