cesium/widgets.css文件加载不到 #25
Unanswered
sunny-0512
asked this question in
Q&A
Replies: 1 comment
-
难道是cesium版本更新了的问题? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
import 'cesium/widgets.css' // 加载不到
在博客https://www.cnblogs.com/zfygiser/p/15239818.html上找到一个解决方案是修改node_modules中依赖源文件package.json,在exports输出中,添加widgets文件的路径输出。
这种方式确实能解决问题,但不够简洁。
希望得到您的指点。
Beta Was this translation helpful? Give feedback.
All reactions