Since window is not defined when store is activated, I don't see a way to refill the store from localStorage before any of the page components get loaded. Tried:
window.__NUXT__.state
from a pluginstore/index.js
So, I ended up refilling the store from localStorage on mounted of one of the ~components/
Are there any ways of doing it?