As stated in the Vuex documentation, a nested module can be dynamically registered like this:
store.registerModule(['nested', 'myModule'], {
// ...
})
To access this state, you would use store.state.nested.myModule
My question is how to dynamically register a module nested another layer deep within the first module. In other words, can I expose the modules state as
store.state.nested.furtherNested.myModule
? Is this achievable?