-
Notifications
You must be signed in to change notification settings - Fork 751
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
页面空白,页面报错 #40
Comments
查看控制台日志,看看启动了那个端口。 |
|
最后我将你的<script type="module" crossorigin src="/assets/index-a80dcab2.js"></script>中的type换成defer之后,页面就正常显示了,非常莫名其妙的问题 |
同样遇到了该问题 |
请提供浏览器控制台中的信息 |
Loading module from “http://127.0.0.1:8080/assets/index-a80dcab2.js” was blocked because of a disallowed MIME type (“text/plain”). |
index-a80dcab2.js:1 Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of "text/plain". Strict MIME type checking is enforced for module scripts per HTML spec. |
这似乎是一个前端兼容性问题 |
@rxliuli help |
吾辈测试了 0.0.8 没发现问题,是已经解决了么? |
没有对前端文件做任何改动。😢 |
从这里的解决方法猜测是他的浏览器太旧了不支持 esmodule,或许试试最新的 chrome |
目前是最新的Edge和Firefox都是页面空白。 |
不,我的浏览器都是最新的 |
|
新版本好像没啥变化,我依旧是空白 |
更新docker后,打开界面也是空白,不知道原因 |
最新window版,点进页面后空白
The text was updated successfully, but these errors were encountered: