Skip to content

Commit

Permalink
fix(nuxt-commerce): add image alt
Browse files Browse the repository at this point in the history
  • Loading branch information
gravitano committed Feb 15, 2023
1 parent f7248fa commit 7497275
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions starter/nuxt-commerce/pages/products/[id].vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ const {data: product} = useAsyncData(() => $api(`/products/${id}`));
<div>
<img
:src="product.images[0]"
:alt="product.title"
class="max-w-full rounded-lg object-contain w-auto"
/>
</div>
Expand Down

0 comments on commit 7497275

Please sign in to comment.