0

Based on the information I can find, I created the vue project and referenced Cesium, where Cesium says that cesium is not defined in the vue component.

Among them, I cited Cesium in Vue's public/index.html.

enter image description here

enter image description here

Then I tried to solve the problem using window.cesium, and although there was no error, 3dtiles would not load.

enter image description here

enter image description here

So I tried removing the index .html reference and referencing it in main.js, but I couldn't start the server.

Newcomers have just started to work and write programs, there are many things they don't understand and English is not very good, I hope the big guys will be more inclusive.

1 Answer 1

0

enter image description here

you must install vue-cesium npm

Sign up to request clarification or add additional context in comments.

2 Comments

Please provide textual information, especially code, as text, not as picture of text.
Please post your code as text NOT as screenshots

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.