App.vue
, listen to the addAction
action from the cart store and whenever the user adds a new item to the cart, display an alert showing how many items were added✅ When complete you’ll have an alert like this
<aside>
💡 Hint: you might need to use cartStore.$state
during this process
</aside>
✅ When complete you should be able to add items to the cart, refresh the page, and the see the items still in the cart