1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
<script> export default { props: { url: { type: String, required: true, }, alt: { type: String, required: true, }, }, }; </script> <template> <div class="gl-text-center gl-p-7 gl-bg-gray-50"> <img :src="url" :alt="alt" data-testid="image" /> </div> </template>