Access our course library with 40% off
Although this course was developed with Vue 2, the syntax for Vue 3 with Vuex is virtually the same.
In the last lesson, we saw an overview of how Vuex works. In this tutorial, we’ll look at how we can access the State from our Vuex store from within our components, both directly and with the help of Getters.
If we take a look at our main.js file, we see we’re importing our