Skip to content

Vuex modules don't load with 'Autoload Vuex state' #1098

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

Closed
mikaelhadler opened this issue Oct 30, 2019 · 3 comments
Closed

Vuex modules don't load with 'Autoload Vuex state' #1098

mikaelhadler opened this issue Oct 30, 2019 · 3 comments
Labels

Comments

@mikaelhadler
Copy link

Version

5.3.1

Browser and OS info

Chrome 78.0.3904.70

Steps to reproduce

1 - Open a chrome
2 - Navigate to app
3 - Open Chrome Devtools
4 - Enable 'Autoload state vuex'
5 - Refresh to force reload modules

What is expected?

All modules loaded automatic

What is actually happening?

No modules loaded in listing


https://drive.google.com/file/d/1zz1MDxu3bKo4DfuF2oja8LxeuIAQkdbB/view?usp=sharing

@Akryum
Copy link
Member

Akryum commented Oct 30, 2019

Do you have a minimal runnable reproduction of the issue?

@wilf312
Copy link

wilf312 commented Oct 30, 2019

hi @Akryum . Thank you great extension!

I have same error.
If you implement using https://github.com/vuex-orm/vuex-orm,
foo/bar/query and module are cut under module.

sample code

https://codesandbox.io/s/vue-template-ci6qb

https://github.com/wilf312/vuedevtool_test

background page error message

parent[parts.pop()] = res.getters[key]

https://github.com/vuejs/vue-devtools/blob/dev/packages/app-frontend/src/views/vuex/module.js#L224

sc

Please excuse me if you may not understand or you feel bad with my poor English. 🙇

@Akryum Akryum added bug and removed need repro labels Oct 30, 2019
@Akryum Akryum closed this as completed in dc3c976 Oct 30, 2019
@Akryum
Copy link
Member

Akryum commented Oct 30, 2019

The devtools now supports displaying getters which have the same name as a child module:

image

sp1ker pushed a commit to sp1ker/vue-devtools that referenced this issue Aug 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants