Skip to content

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

@meitan-li

Description

@meitan-li

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

🙏

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingvitescope: vite plugin

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions