Static GitHub Issues

[1037] Problem with Session and Window

prev: how to run Nuxt in production
next: scrollBehavior: Fires too early

Hello! i try develop a client for an api with nuxt.. and i try save the bearer token on localStorage but never work.. I using Vuex Modules to.. always the same error localStorage is not defined or window is not defined the backend api is PHP (Laravel) ..

Thanks guys

<!--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/c905">#c905</a>)</em></sub></div>