v-model
uses 2 way binding to make local state easy to update and connect variables to an input or component, in an implicit way. At the same time, that makes it difficult to combine it with Vuex, since getters and mutations/actions must be called explicitly.
This lesson shows you how you can apply the v-model
functionality to a Vuex store by doing it in explicitly in 2 steps on a class-based component using TypeScript.