I can't seem to import enable3d as a module in my site #391
-
|
I've downloaded enable3d.framework.0.25.4.min.js and imported it in my HTML, like so:
GET request for the js file works fine, the browser downloads the enable3d source successfully. In my code module js code I try to import anything from it, but keep getting an error. For example, this
results in this error:
I feel like I'm missing something stupid. Any help would be greatly appreciated. Thank you in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
I'm having the same problem, I have even tried to copy a standalone example but it is still not working |
Beta Was this translation helpful? Give feedback.
Module support will be added in version 0.26.0.
Some examples (like this one https://enable3d.io/examples/native-three-with-physics.html) have already been updated.