Library Version Build Status Coverage Status
Minified size Downloads Dependencies

Dynamically creates an interface of objects to easily communicate with vuex

Turning this:

this.$store.dispatch('module/action', { data });

this.$store.commit(Types.mutations.SET_FIRST_THING, 10);

this.$store.getters[TYPES.getters.getSomething]

Into this:

dispatches.module.action({ data });

commits.module.setFirstThing(10);

getters.module.getSomething();

No more constants, no more strings

Also accessible via the javascript console

$ yarn add vuex-objectify