vuex-multi-history
TypeScript icon, indicating that this package has built-in type declarations

3.0.2 • Public • Published

vuex-multi-history

Build Status npm version codecov

Multiple histories for Vuex

The Demo is available here.

Getting Started

  1. Install the dependencies:
    npm install vue vuex vuex-history-plugin
    or
    yarn add vue vuex vuex-history-plugin

  2. Initialize the plugin:

    import { VuexMultiHistory } from 'vuex-multi-history';
    ...
     
    const options = {};
    const vuexHistory = new VuexMultiHistory(options);
  3. Register the plugin in the store:

    import { Store } from 'vuex';
     
    ...
     
    new Store({
           ...
     
           plugins[vuexHistory.plugin],
    });

For more information visit the docs.

/vuex-multi-history/

    Package Sidebar

    Install

    npm i vuex-multi-history

    Weekly Downloads

    2

    Version

    3.0.2

    License

    MIT

    Unpacked Size

    100 kB

    Total Files

    22

    Last publish

    Collaborators

    • m-ripper