I am developing some Vue components that I would like to place in an NPM package. The problem that I am facing is that I have no idea how to publish components that rely on a Vuex module.
I have neatly placed all the code needed for this library of components into a separate Vuex module but how do I register my module when somebody imports my package?
A good start would be creating a plugin I guess but I would still need to check for a Vuex instance and somehow register my module.
I've seen plenty of tutorials on how to publish Vue components but not something more complex.
Any suggestions?