vuex-typescript icon indicating copy to clipboard operation
vuex-typescript copied to clipboard

A simple way to make Vuex type-safe with intuitive intellisense

Results 16 vuex-typescript issues
Sort by recently updated
recently updated
newest added

Stumbled across this lib through this article [https://medium.com/js-dojo/using-fully-typed-vuex-mutations-with-vuex-typescript-7597f56eceec](https://medium.com/js-dojo/using-fully-typed-vuex-mutations-with-vuex-typescript-7597f56eceec). All is working well but getters are always returning undefined when using dot notation to get into the state. If i parse...

As per https://vuex.vuejs.org/guide/modules.html#module-local-state , getters have the other getters as second parameter, so the correct param list is "localState", "getters", "rootState".

Find a simple example here: https://github.com/BertusVanZyl/vuex-typescript-problemdemo I got vuex-typescript working, and the state is changing. However, in the vue dev tools, no vuex events are created when using vuex-typescript. Using...

From an action in one module I want to call a getter in another module. I'm able to do it with context.rootGetters["namespace/getter"] but it doesn't feel like the typescript way...

It showed an error "Vuex handler functions must not be anonymous." If I don't minify the script, it works fine. Other modern browser did work with minified script.

Is there a way to access the store functions ive set up in router guard methods, they all work fine inside modules themselves but i cant seem to get them...

I've been trying out this approach but ran into an issue with specifying a vuex getter with more than just the state; i.e. (state, getters, rootState, rootGetters). Shouldn't the following...

Hi! Really like the package. We were recently trying to access RootState from a getter, and realized that if we follow this library's type expectations for a getter, we're not...

Hi, If i set a property with readProductNames values and then commitAppendItem, the property won't update. If i call again readProductNames it will show the correct data, but i was...

Given an action wit optional parameter: `async testIt(context: TestContext, payload?: number): Promise {}` Is mapped with: `export const testAction = dispatch(test.actions.testIt)` When you call the action inside a VUE Component...