需要修改的地方有三处。
第一处在build/utils.js添加 publicPath: ‘../../‘
第二处config/index.js添加assetsPublicPath: ‘./‘,这个看图.注意是在build下
第三处在src/router/index.js里面修改mode然后就可以打开了。
vue打包后显示空白的路径问题
原文:https://www.cnblogs.com/lywweb/p/8868295.html