Is it possible to dynamically register modules?
rugia813 opened this issue · comments
Jay Li commented
tried to dynamically register modules for different pages, and got this error:
"Can't add module after vuexStore() has been called"
is this achievable somehow? register all modules for all pages doesn't seem to be ideal.
thanks
mrcrowl commented
🤔 interesting... there's no good reason why it shouldn't be possible. Except that it hasn't been done.
mrcrowl commented
Thanks for the PR. I'll publish to npm when I'm back at a computer.
mrcrowl commented
Published as vuex-typex v3.1.5