Vuex for Everyone
🚧 NOTICE: You are watching a Vue.js 2 lesson

Cart items and total

When you’re developing, it’s very handy to test drive the application with the Vue devtools, but it’s not enough for the end users.

In this tutorial we’ll create the ShoppingCart component and interact with the Vuex state through getters, to get the items in the cart along with the cart total.