从包中获取net :: ERR_ABORTED 404

我希望在刷新页面时得到一些错误帮助。当我使用链接组件前往/store/:store_id时,我没有任何问题。存储组件加载没有问题。但是,当我刷新页面时,它消失了,并且在控制台中我看到了这个错误

GET http://localhost:3000/store/bundle.js net::ERR_ABORTED 404 (Not Found)

感谢所有帮助和明确说明,因为我不确定为什么会这样。

更新

devserver: {
    contentBase: path.join(__dirname,'./dist'),compress: true,port: 3000,historyApiFallback: true,hot: true
},
dtj3516702 回答:从包中获取net :: ERR_ABORTED 404

暂时没有好的解决方案,如果你有好的解决方案,请发邮件至:iooj@foxmail.com
本文链接:https://www.f2er.com/3162548.html

大家都在问