In this lesson, we learn about using getters in Pinia to provide computed data based on the state of the store.
With this handy feature we’re able to get our Vue.js powered Pineapple Stand showing the correct item count in the cart and show a empty cart message when there are no items.
Links