Skip to content

Devtools for vuex only shows state from first initialized store when a second store is created #1675

Open
@ColtHands

Description

@ColtHands

Version

5.3.4
not sure about the version_

Reproduction link

codesandbox.io

Steps to reproduce

  1. Create basic app
  2. Create basic store
  3. Add store thorught new Vue({store: new Vuex.Store(storeObj)})
  4. Add ANOTHER instance of vuex store
new Vue({
    anotherStore: new Vuex.Store(anotherStoreObj),
    store: new Vuex.Store(storeObj)
})

What is expected?

To show every store object or at least one that is defined under $store variable.

What is actually happening?

Now, in devtools you will only see state from vuex store that was init first.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions