-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Create new simple example with vue2 and vite #11306
Comments
It's out of date, but try this and post if it works: |
@TJKoury works, but its not a official Cesium package and i cant use this. @cesiumgs-admin |
I submitted for a Cesium grant to roll all this into Cesium, make some noise if this is something you want to see done. |
@brunokunace You'll want to use the pre-built workers in But message received about an easy-to-follow example using vue/vite. CC #11301 |
Requested on the forum: https://community.cesium.com/t/is-there-a-good-way-to-use-cesium-with-vite/27545/2 |
@brunokunace I found maybe a good solution to solve the problem. Here is the code simply-cesium-vite-vue. Hope it helpful. |
Hi all, we've added https://github.com/CesiumGS/cesium-vite-example with a recommended setup for vite. It should also be straightforward to add vue to that setup. Please leave a comment or issue in that repo if you have any feedback. Thanks! |
Hi everyone, im trying to create a simple example with vue2+vite and cesium 1.105.2
I use a vite plugin to copy node files to public:
//vite.config.js
and all files i need are copied to /public folder and its nice.
But when i try to initialize the script bellow, i receive these erros in console and the result a black sky with start moving
Error:
Note. /Workers/createVerticesFromHeightmap.js is working in the indicated path.
Result screen:
The text was updated successfully, but these errors were encountered: