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

Why do I need a delayed mount to use the vite plugin #191

Closed
meitan-li opened this issue Jan 23, 2024 · 2 comments · Fixed by #194
Closed

Why do I need a delayed mount to use the vite plugin #191

meitan-li opened this issue Jan 23, 2024 · 2 comments · Fixed by #194
Assignees
Labels
bug Something isn't working vite scope: vite plugin

Comments

@meitan-li
Copy link
Contributor

I have a new project.
image
image
image
image

When starting the project, I can't use the plugin.
And click on the "Inspector" button, I will get the error:
image

I found that if I mount in "setTimeout", everything will be fine:
image
image

🙏

@alexzhang1030
Copy link
Member

Can you share a minimal reproduction? Thank you!

@meitan-li
Copy link
Contributor Author

meitan-li commented Jan 24, 2024

Can you share a minimal reproduction? Thank you!

dear @alexzhang1030
I created a project, please check it.
https://github.com/meitan-li/vue-devtool-next-demo
You can modify the code in src/main.ts to reproduce the issue.

Thank you!!

@webfansplz webfansplz added bug Something isn't working vite scope: vite plugin labels Jan 24, 2024
@webfansplz webfansplz self-assigned this Jan 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working vite scope: vite plugin
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants