We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
比如 html 的路径是:/demo/a.html,请求的 hot-update.json 的路径会是 /demo/hot-update.json,404,不能正常刷新
hot-update.json
The text was updated successfully, but these errors were encountered:
你好,这个问题是否解决,或者有思路? [email protected] 中把这项去掉了吗?
Sorry, something went wrong.
没有深入看这个问题,可以通过 proxy 配置来绕开。比如:
module.exports = { '/a.html': function(req, res) { const content = read(/demo/a.html); res.end(content); }, };
另外,如果你用 redux,可以尝试 dora-plugin-webpack-hmr 和这个脚手架。
恩,好的,谢谢。我们也先用临时方案,后面如果有精力解决了再反馈。
No branches or pull requests
比如 html 的路径是:/demo/a.html,请求的
hot-update.json
的路径会是 /demo/hot-update.json,404,不能正常刷新The text was updated successfully, but these errors were encountered: