这种问题通常在console中会看到index.html关联不到其他文件了。
解决:config.js中,改静态文件的引用路径‘/’改'./'
build: { assetsPublicPath: './',