Using the basic example I am getting a circular structure error
I suspect the actual issue is elsewhere but I don't know where to look.
```// VUEX
import Vuex from 'vuex';
import createPersistedState from 'vuex-persistedstate'
// Added Modules
import auth from './modules/auth';
import site from './modules/site';
const store = new Vuex.Store({
modules: {
auth,
site
},
state: {},
plugins: [createPersistedState()]
});
export default store;
```
@DelfsEngineering please provide some more context of your JSON structure. Without any knowledge on how your modules look like, it's a very hard issue to solve.
No update by @DelfsEngineering on the issue. Please see the jsfiddle links in the readme for a basic running example of the plugin.

crashes it too
I was having this error, I was importing the lib like that:
plugins: [createPersistedState()],
I changed to:
plugins: [createPersistedState],
and it worked!!
It seems that it is caused by the matched attribute of vue-router. See how the author can improve it. The framework used is vue-element-admin. You can clone to see the error message; @robinvdvleuten @
No update by @DelfsEngineering on the issue. Please see the jsfiddle links in the readme for a basic running example of the plugin.
It seems that it is caused by the matched attribute of vue-router. See how the author can improve it. The framework used is vue-element-admin. You can clone to see the error message;
Most helpful comment
I was having this error, I was importing the lib like that:
plugins: [createPersistedState()],I changed to:
plugins: [createPersistedState],and it worked!!