更新时间:2023-11-22 08:25:22
根据 webpack 开发服务器文档 你应该将此入口点添加到 webpack 配置中以支持自动刷新.
According to the webpack dev server documentation you should add this entry point to the webpack configuration to support automatic refresh.
config.entry.unshift("webpack-dev-server/client?http://localhost:8080/");