Vue-devtools: Vuex modules don't load with 'Autoload Vuex state'

Created on 30 Oct 2019  路  3Comments  路  Source: vuejs/vue-devtools

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

bug

Most helpful comment

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

image

All 3 comments

Do you have a minimal runnable reproduction of the issue?

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. :bow:

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

image

Was this page helpful?
0 / 5 - 0 ratings

Related issues

pxwee5 picture pxwee5  路  3Comments

ablipan picture ablipan  路  5Comments

stiltet picture stiltet  路  3Comments

Gedminas picture Gedminas  路  3Comments

phromo picture phromo  路  4Comments