Skip to content

Dynamically creates an interface of objects to easily communicate with vuex. No more constants, no more strings.

Notifications You must be signed in to change notification settings

dannyYassine/vuex-objectify

Repository files navigation

logo.png

Coverage Status 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


Getting Started

About

Dynamically creates an interface of objects to easily communicate with vuex. No more constants, no more strings.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published