Closed tmtk75 closed 6 years ago
@mrcrowl I'm also interesting to know is it possible to create submodule of the module?
getStoreBuilder<IRootState>().module('testModule', initialState);
Is there a way to creeate subModule module and apply it to testModule as a submodule?
Thanks for nice library!
My apologies for delayed response here, I've been travelling.
See the nested test example here: https://github.com/mrcrowl/vuex-typex/blob/master/src/tests/nested.spec.ts
You can call .module(...)
from an existing module builder to create a sub module.
You can call .module(...) from an existing module builder to create a sub module.
Got it. I didn't notice that. Thanks!
Could someone give an example for declaration using nested module?