-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Multiple Vue apps mounted cause empty devtools on Chrome #2165
Comments
I find a hack solution: umount App beforeunload:window.onbeforeunload = () => {
console.log('onbeforeunload 卸载 App');
app.unmount();
} |
Thanks a lot for your help/hack. However for me it doesn't work. Probably because my situation is not exactly the same as described above. I also have multiple plugins that mount as apps and keep running and are not "unmounted". |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Vue devtools version
6.6.1
Link to minimal reproduction
https://stackblitz.com/edit/vitejs-vite-wh3but?file=package-lock.json
Steps to reproduce & screenshots
What is expected?
Opening Chrome developer console, going to the Vue devtools should show the entries of the Pinia/Vuex store immediately.
What is actually happening?
Devtools is showing empty Pinia/Vuex store. I have to close the developer console (f12) from Chrome and reopen the developer console to see the Pinia/Vuex store entries.
System Info
The problem occurs on Chrome. On Firefox this does work normally.
Any additional comments?
No response
The text was updated successfully, but these errors were encountered: