Skip to content

Pinia devtools will not call setupDevtoolsPlugin until useStore is called #2818

Open
@alexzhang1030

Description

Reproduction

N/A

Steps to reproduce the bug

There is a related issue vuejs/devtools#672

The reproduction steps are there.

Expected behavior

Call setupDevtoolsPlugin immediately instead of calling it after useStore. otherwise devtools cannot read settings at mounted.

Actual behavior

Call setupDevtoolsPlugin after someone calls useStore

Additional information

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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