We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I tried a demonstration using CodeSandBox with disabling Vuex.
https://codesandbox.io/s/flamboyant-browser-cpucn?file=/pages/index.vue
I actually have to call $forceUpdate() in the component, It's weird since we use Vue.set(), maybe we should define the state using Vue.observable ?
$forceUpdate()
The text was updated successfully, but these errors were encountered:
Also, the token in the localStorage and cookie is undefinedtoken because I specific localStorage: true:
undefinedtoken
localStorage: true
Sorry, something went wrong.
I can confirm the bug with store disabled. We indeed need to use observable (and probably also document better about initialState)
Auth module uses same implementation which is probably affected: https://github.com/nuxt-community/auth-module/blob/83adce54190f097a965a33787f96faf9eb479f97/src/core/storage.ts#L116
I guess you need to specify prefix in options like this:
localStorage: { prefix: 'some-prefix-', },
No branches or pull requests
I tried a demonstration using CodeSandBox with disabling Vuex.
https://codesandbox.io/s/flamboyant-browser-cpucn?file=/pages/index.vue
I actually have to call
$forceUpdate()
in the component, It's weird since we use Vue.set(), maybe we should define the state using Vue.observable ?The text was updated successfully, but these errors were encountered: