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

Adding product image & price

In the last video we integrated API data into our Vue app.

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

Notice that each object has the id, price and title like we had before, but there's also a thumb property, which is the path to the thumbnail image.

We now want to use the thumb property to 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...