9***@qq.com
9***@qq.com
  • 发布:2021-11-25 10:13
  • 更新:2021-11-25 10:17
  • 阅读:1469

uni-app运行到浏览器报错,显示的打包后的main.js里面的内容是index.html的内容,新手上路,希望高手能帮我解答,谢谢!

分类:uni-app

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.

2021-11-25 10:13 负责人:无 分享
已邀请:
小枫叶

小枫叶 - 外包接单加v:wlmk1234567 注明来意

代码贴出来看看

  • 9***@qq.com (作者)

    感谢回复,我重新创建了一个uni-app的项目,就不报错了,可能之前是缓存的原因。

    2021-11-26 15:08

该问题目前已经被锁定, 无法添加新回复