Sometimes we need to apply common functionality to the store. Vuex plugins allow us to access the store which allows direct access to State
and Mutation
using hooks.
This lesson shows you how you can add a history Vuex plugin that keeps track of the called mutations using TypeScript.