Learn Vue JS course Learn Javascript and Vue JS Learn VueJS course Learn VueJS Tutorial

Pinia: The Enjoyable Vue Store

Getters in Pinia

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