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

Pinia: The Enjoyable Vue Store

Access Pinia State in the Options API

In this lesson, we learn how to access state from a Pinia store using the options API. This is possible with the Pinia helper functions mapState and mapWritableState.