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

开发环境热更新失败 #1

Open
candy4290 opened this issue Oct 24, 2023 · 0 comments
Open

开发环境热更新失败 #1

candy4290 opened this issue Oct 24, 2023 · 0 comments

Comments

@candy4290
Copy link
Owner

candy4290 commented Oct 24, 2023

原因是craco.config.js设置了client:false。如果只是想关闭overlay,craco现在有bug,见下文。
暂时可以考虑去除client:false配置,如果想关闭overlay,可以通过css方式将overlay设置为display:none.
#webpack-dev-server-client-overlay {
display: none;
}
参考:dilanx/craco#501

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant