Closed Vad1mo closed 6 years ago
Hi @Vad1mo,
Yes, you have to add them separately.
According to the docs add-additional-state-actions-and-mutations-to-the-store this should be possible as its just regular store object.
This applies to the created store you made with new Vapi().getStore()
and not the constructor.
We are using vuex-rest-api 2.4.4 and I created a use case with modules that is working except
getters
. When I add the getters section they aren't added to the parent store. According to the docs add-additional-state-actions-and-mutations-to-the-store this should be possible as its just regular store object.I also made a simple example and this one works just fine
Main Store
Should I add the getter separately?