vue项目打包后白屏

1.新建 vue.config.js

2.资源路径问题,插入一句代码就好了

module.exports = { publicPath: './' };
原文地址:https://www.cnblogs.com/xinchenhui/p/12367974.html