xeokit-sdk icon indicating copy to clipboard operation
xeokit-sdk copied to clipboard

WasmPath not working

Open assaad97 opened this issue 2 years ago • 1 comments

hello, im trying to use the new WebIFCLoaderPlugin, to load Ifcs, and it requires a path to a wasm file, which i provide using the default cdn provided in the examples, when i did that it doesn't work, and if i download the wasm file localy, place it in src and provide a relative wasm oath, it doesn't work either image

im using xeokit v2.2.2 in react17 , if there anyone who had this problem and solved it i would really appreciate it

assaad97 avatar Jun 23 '22 13:06 assaad97

Sounds like a ReactJS issue (which unfortunately we can't help much with, since it's a 3rd-party lib outside the responsibility of xeokit).

On our end, the best we can do is use the best JS practices we can, and hope that frameworks like ReactJS and Vue do as well.

What happens when you use this feature in a basic HTML page, served from something like http-server?

If that works OK, then it would likely be a React configuration issue..

xeolabs avatar Aug 24 '22 11:08 xeolabs