Alec Davila

Results 9 comments of Alec Davila

Just import the other module and use getModule(“OtherModule”, store).

@pattrickrice Internally we don't use the project anymore but from what I remember you do as follows ```typescript // index.ts or wherever you have declared your store import Vuex from...

@Exeteres I did something similar, but assigned the base getters before exporting my child class. Did you attempt something like this? And if so, did you run into any problems?...

@Exeteres did you end up having an issue with modules colliding?

@Exeteres thanks for the quick reply -- I might just have an odd typo somewhere.

@seflue my team ended up using a different package because of the amount of generics we use.

@fen89 we use this: https://github.com/gertqin/vuex-class-modules But it looks like they may have merged a fix with this package. Haven’t tested it yet.

@Disorrder Why not either create a generic base class, or use a constructor?

@rummanwaqar I believe it’s there for some types that you may or may not have defined in your dialect.