Skip to content

wuyax/vuex-along-function-adapter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Function adapter for vuex-along

npm install vuex-along-function-adapter --save
# or
yarn add vuex-along-function-adapter
import createVuexAlong from "vuex-along";
import functionAdapter from "vuex-along-function-adapter";

const store = new Vuex.Store({
  plugins: [
    createVuexAlong({
      adapterOptions: functionAdapter(),
    }),
  ],
});

Notice

The function for persistent storage must be a pure function

License