Closed fabiom91 closed 4 years ago
Paths must be specified using dot notation.
Examples:
['surveys']
['anything.surveys']
Paths must be specified using dot notation.
Examples:
- store/surveys.js
['surveys']
- store/anything/surveys.js
['anything.surveys']
Thanks Fabio, It worked! :)
vuex-persistedstate
version: "^4.0.0-beta.1"node
version: v11.13.0npm
(oryarn
) version: npm 6.7.0nuxt.config.js plugins:
plugins/
persistedState.client.jsstore/
index.jsWhat you did: I followed the Readme to configure client side plugin for NuxtJS by creating a new plugin called
persistedState.client.js
and adding the plugin innuxt.config.js
as above.What happened: No error but when I reload the page, the data pulled from the Vuex storage disappear as usual.
Problem description: I followed the Nuxtjs part of the readme but the Vuex storage is still ignoring the plugin. I believe I'm missing something but I can't find further info in the documentation. So after setting up the plugin, what do I need to do to make sure that if I reload a page that is using data from Vuex storage, keep using the data?
Suggested solution: Please improve readme.