GUI Import Error

Hey,

I was trying to use the Babylon GUI, I tried to import the same using a script tag as follows -

<script src="https://cdn.babylonjs.com/gui/babylon.gui.min.js"></script>

I even tried the same using the preview version of the link

<script src="https://preview.babylonjs.com/gui/babylon.gui.min.js"></script>

but of them threw the same error -

image

I am not sure how to solve this error or what is the issue.
It would be great if I could get help with this, Thanks!

You seem to have the good link but something else may be wrong in your code

Can you repro it in the playground?

Ok thanks for your inputs, I figured out the problem.

1 Like