-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
hmr error #1021
Comments
It caused by the
Code is here https://github.com/vueComponent/ant-design-vue/blob/next/components/grid/Row.tsx#L121 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Describe the bug
A very strange problem. When I trigger a hot update, the console will report an error. But I don't understand where the problem is。
This problem will cause the entire page to crash and can only be solved by refreshing the page
After the project is large, the problem will appear almost every time a hot update is triggered. Seriously affect development
Reproduction
https://github.com/anncwb/vite-hmr-error-repo
src/Comp.vue
<!-- <img alt="Vue logo" src="/@/assets/logo.png" /> -->
In this example, it is normal to comment the following code, but I don’t know how to do it for other projects?. This is a problem with vue or a component library.
Comment code works normally
System Info
vite
version:rc.9The text was updated successfully, but these errors were encountered: