-
-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
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
fix: devtools does not show auth module #108
Comments
@MrJmpl3 I think this may be related to #39. The auth module is being correctly registered, it's just not showing up in the devtools. If you click on a component in the devtools Component mode (first tab), and then switch to console, you can verify this: console.dir($vm0.$store.state.auth)
// loggedIn: false
β// strategy: "local"
β// user: null Unfortunately, I believe this to be a bug in the devtools as |
Edit 12/17/2020: The method described below is no longer working for me and the bug has returned. Left the same comment in the other issue but this is how I managed to fix it: I was having a similar issue with the store state not getting updated in vue dev tools. I managed to fix this by doing the following:
|
I do @ShaggyTech fix in the example, but auth module registration and store of auth module don't show π’ |
@MrJmpl3 i had enabled @danielroe does it work for you? |
Also there's similar behavior, when you rehydrate state from a localstorage with this package: https://github.com/robinvdvleuten/vuex-persistedstate In a console i see, it's rehydrated, but not in devtools. @danielroe is it on the devtools side problem? Can we report it? |
@webcoderkz Yes, I believe this is a bug with devtools. |
π The bug
Nuxt Auth cannot register a module in store, look the devtools
π οΈ To reproduce
https://codesandbox.io/s/distracted-platform-hw4xe
π Expected behaviour
Nuxt Auth can register a module for authentification.
βΉοΈ Additional context
Nothing
The text was updated successfully, but these errors were encountered: