2***@qq.com
2***@qq.com
  • 发布:2022-07-03 13:44
  • 更新:2022-08-30 15:19
  • 阅读:576

HbuilderX创建Vue3项目无法浏览

分类:HBuilderX

创建完vue3 点击浏览器或者内置浏览器都不看不见内容
报错内容: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-07-03 13:44 负责人:无 分享
已邀请:
BoredApe

BoredApe - 有问题就会有答案。

新建项目也会这样嘛?是在webview中打开本地文件了嘛?

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

    以解决 谢谢

    2022-07-05 10:09

  • Caroline_362

    回复 2***@qq.com: 请教一下,怎么解决的,我现在遇到一个类似的问题。

    Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of "video/mp2t". Strict MIME type checking is enforced for module scripts per HTML spec.

    2022-08-30 15:09

  • Caroline_362

    已解决,把.ts的文件改成了.js,再次运行,就好了。

    2022-08-30 16:01

Caroline_362

Caroline_362

报错截图,感谢

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