The video for this lesson is currently being updated, please read the transcript instead.

Adding product image & price

If we look in Vue Devtools after we've done a search, we can see the products array gets populated with product. [do a search for cat]

You'll see that each one has the id, price and title like we've seen before, but there's also a thumb property, which is the path to the thumbnail image.

We now want to use the thumb property and display the thumbnail on our products.

Adding thumb

To view the complete lesson you'll need to login or join this course.


Click to load comments...