Skip to content

Warning: [vuex] state field "route" was overridden by a module with the same name at "route" #101

@Unkrass

Description

@Unkrass

I use the following packages:

"vue-router": "^4.0.0-0",
"vuex": "^4.0.0-0",
"vuex-persistedstate": "^4.0.0-beta.3",
"vuex-router-sync": "^6.0.0-rc.1"

When I reload a page - and I believe it only happens when the state i persisted - I get the warning message

[vuex] state field "route" was overridden by a module with the same name at "route"

In my opinion this shouldn't be happening, because I didn't define any modules in my store. changing the module name to e.g. "RouteModule" as written in the docs throws the same warning, except then with "RouteModule" instead of "route".

Is there a way to fix this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions