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

Binding cart item controls to Vuex

In the last video we made it so cart items would display in the cart view. However, you'll notice the cart items aren't rendering correctly.

In this video, we're going to fix that and also bind this quantity input to the Vuex ORM model.

Just like in our item view, the template of this component relies on an item object being present. You'll see in the component definition that the computed property is again returning an empty object, so let's load it from the store.

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


Click to load comments...