修改build/utils.js文件里面的ExtractTextPlugin,添加:publicPath: ‘…/…/’,具体代码如下: 转载于:https://www.cnblogs.com/sunery/p/10175053.html