Closed vinnitu closed 3 years ago
cesium
need a BaseUrl to find its assets, you should copy Assets in your publicFiles like
and add window.CESIUM_BASE_URL
where there are in your main.js
.
you can see https://cesium.com/docs/tutorials/quick-start/#step-2-set-up-the-cesiumjs-client Install with NPM
@vinnitu if you have follow up questions, please ask on our community forum
I wrote a vite plugin for cesium, it is very easy to use, please check. https://github.com/nshen/vite-plugin-cesium
@vinnitu I wrote a simple Vue Cesium Vite App template, you can take a look. https://github.com/martinageradams/vue-cesium-vite-app
I have opened question about using cesium in es6 style, can you give me advise how to solve this issue?
https://github.com/vitejs/vite/issues/1058