0.1.1 • Published 1 year ago
vuex-along-function-adapter v0.1.1
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