Coding task · Vue.js course · Module 11: Pinia

Practice: Getters

Add getters like the analytics panels of mission control.

Task

Create the getters totalItems, hasShortage and stockStatus.