报错提示: index-fbb90c85.js:1 Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of "text/plain".
原因: nginx使用容器部署, nginx.conf文件指定引用mime类型文件.
解决方法:
1. 添加 include /etc/nginx/mim.types;
2.重启nginx即可
nginx -t
nginx -s reload
标签:vue,script,部署,module,空白页,nginx From: https://www.cnblogs.com/zhaolongisme/p/17387222.html