closes https://github.com/championswimmer/vuex-module-decorators/issues/15
So one way of doing it is
@Module
class InnerModule extends VuexModule {
}
@Module
class OuterModule extends VuexModule {
@Nested
innerModule = new InnerModule()
}
But I am exploring other options too
is @Nested in works?
looks cool to me..
I would love getting nested module support.
Is this the intended approach: to initialize the nested module(s) inside the parent module that is using it?
I wonder if there may be a way to leverage decorators for discovery like NestJS does, when you see that the property in a VuexModule has the type of another decorated VuexModule => use that decorated VuexModule.
This would be good. Also how would it handle namespacing state.outerModule.innerModule ?
Any reason this was closed? I do not see Nested module support in the latest version
+1
2,5 years gone and it's not implemented yet. Last commit to the repo almost year ago. Is the project dead?
Most helpful comment
Any reason this was closed? I do not see Nested module support in the latest version