Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
alexzhang1030 opened this issue Nov 1, 2024 · 0 comments

Comments

@alexzhang1030
Copy link
Member

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

@alexzhang1030 alexzhang1030 changed the title Pinia devtools will not register until calls useStore Pinia devtools will not setupDevtoolsPlugin until calls useStore Nov 1, 2024
@alexzhang1030 alexzhang1030 changed the title Pinia devtools will not setupDevtoolsPlugin until calls useStore Pinia devtools will not call setupDevtoolsPlugin until useStore is called Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants