Displaying cart items
Now we're adding the products to our cart array. In this video, we're going to work on rendering those in the page.
Down here in the cart section of the template, we're going to put an unordered list tag.
We'll then put a list item inside it, and we'll use the
v-for directive to iterate our
<div class="cart"> <h2>Shopping Cart</h2> <ul> <li v-for></li> </ul> <div>
Click to load comments...