vuex-objectify

1.0.7 • Public • Published

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

Dependencies (0)

    Dev Dependencies (16)

    Package Sidebar

    Install

    npm i vuex-objectify

    Weekly Downloads

    4

    Version

    1.0.7

    License

    MIT

    Unpacked Size

    4.21 MB

    Total Files

    137

    Last publish

    Collaborators

    • ohdannyboy