### Reproduction N/A ### Steps to reproduce the bug There is a related issue https://github.com/vuejs/devtools/issues/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_