vuejs / devtools-v6

⚙️ Browser devtools extension for debugging Vue.js applications.
https://devtools-v6.vuejs.org/
MIT License
24.63k stars 4.15k forks source link

VueX state not loading #1756

Open BrentonCozby opened 2 years ago

BrentonCozby commented 2 years ago

Version

6.0.12

Vue version: 2.6.11

Browser and OS info

Version 1.35.103 Chromium: 98.0.4758.102 (Official Build) (x86_64)

Steps to reproduce

Select "VueX" and then go to the Inspector. I can see the names of the different namespaces but clicking on each of them does not show their data in the section below.

image

The following error shows when I click on the "logistics" namespace in the VueX Inspector:

image

What is expected?

I can see the state data by clicking on a namespace in the VueX inspector

What is actually happening?

no state data shows; it's a blank white box

cordesmj commented 2 years ago

Same problem

song-yinan commented 2 years ago

Same problem

nahakyuu commented 2 years ago

https://github.com/vuejs/devtools/blob/dd47083af2a7d12cb0bf24a9a720315cd980bdfd/packages/app-backend-vue2/src/plugin.ts#L434-L436

BrentonCozby commented 2 years ago

This seems fixed? It's not a problem for me locally as of today. Also, I'm not seeing those console errors I originally saw either (see opening post).

image
nahakyuu commented 2 years ago

@Akryum

new Vuex.Store({
  modules: {
    nested: {
      modules: {
        nestedModule: {
          namespaced: true,
          state: {
            a: 1
          }
        }
      }
    }
  }
})