Closed danielroe closed 5 years ago
Would you mind sharing a sample repo so I can better debug.
Thanks a lot.
@michaelolof Of course.
Thanks for raising it up this has been fixed in the latest push
https://github.com/michaelolof/vuex-class-component/blob/master/src/proxy.ts#L123
Implementing the new API, I am running into some strange problems with a virgin Nuxt install.
Accessing
$store.state
works fine. But getters don't seem to be able to access other class properties. So, for example:$store.getters['userStore/fullname']
returns"undefined undefined"
.index.ts
:user.ts
has the content of the example in the README, with typos fixed.