A Vuex plugin is simply a function that receives the store as the only argument : const myPlugin = (store) => { // called when the store is initialized store.
A Vuex plugin is simply a function that receives the store as the only argument : const myPlugin = (store) => { // called when the store is initialized store.