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.
![9***@qq.com](https://img-cdn-tc.dcloud.net.cn/account/identicon/721766d921fa0d88aa5e7fbdc2b0e398.png)
9***@qq.com
- 发布:2021-11-25 10:13
- 更新:2021-11-25 10:17
- 阅读:1469
uni-app运行到浏览器报错,显示的打包后的main.js里面的内容是index.html的内容,新手上路,希望高手能帮我解答,谢谢!
分类:uni-app
9***@qq.com (作者)
感谢回复,我重新创建了一个uni-app的项目,就不报错了,可能之前是缓存的原因。
2021-11-26 15:08