uniapp项目配置了favicon.ico后,运行到浏览器后报错
Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of "text/html". Strict MIME type checking is enforced for module scripts per HTML spec.
- 发布:2022-05-08 10:30
- 更新:2024-04-22 15:44
- 阅读:1475
怎样解决的,求助
-
3***@qq.com (作者)
在项目根目录下找到index.html文件,注释<script type="module" src="/main.js"></script>这行代码
2022-10-11 08:52
3***@qq.com (作者)
解决了
2022-08-11 15:23