post_img

vue-cli打包部署白屏解决方案

摘要

npm run build打包后,生成dist文件夹。从该文件夹打开dist/index.html页面,发现页面空白,且控制台报错。原因是路径配置有问题。