Static GitHub Issues

[42] Persistent state across server and client rendered pages?

prev: src folder?
next: TypeError: Cannot read property 'path' of undefined

Normally I'd achieve persistent state (state that doesn't expire on refresh) by using Vuex and localstorage, it seems Nuxt doesn't play nice with localstorage, I assume this is because of it's server rendering features?

Is there currently a method to get persistent state that's accessible both on the client and the server? If not, is this something that could be implemented in the future?

<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c35">#c35</a>)</em></sub></div>