原文连接:https://blog.csdn.net/qq_36289377/article/details/93068971

    在build/utils.js下找到
    if (options.extract) {
    return ExtractTextPlugin.extract({
    use: loaders,
    fallback: ‘vue-style-loader’,
    publicPath: ‘../../‘
    })
    } else {
    return [‘vue-style-loader’].concat(loaders)
    }

    加上
    publicPath: ‘../../‘