I would like to use web3 inside the store as a Vuex plugin, so I can call this.web3
inside actions and mutations without having to pass the web3 instance from my components to the store. But since the store is compiled before web3 is injected, I'm wondering if it's even possible to write a plugin which could work like this.
I'm using Nuxt.js, by the way. So maybe there's something within Nuxt that would make this possible.