【发布时间】:2020-03-31 21:23:35
【问题描述】:
我将 Ionic 导入到我的 index.html 中:
<script type="module" src="ionic/ionic/ionic.esm.js"></script>
<script nomodule="" src="ionic/ionic/ionic.js"></script>
在浏览器和 iOS 甚至 Android 模拟器上一切正常。仅在 Android 设备上我会收到 Failed to load module script: The server responded with a non-JavaScript MIME type of "".
我在 SO 和 GitHub 上发现了一两个问题,但我的问题没有简单的解决方案..
我该如何解决这个错误?
【问题讨论】:
标签: android cordova ionic-framework