When I import BJS (
import * as BABYLON from 'babylonjs') inside VueJS I don’t have access to GUI, so I had to install and import babylonjs-gui manually. (
import * as GUI from 'babylonjs-gui').
GUI is working well when I create a Button, but it gives me an error when I try to create inputText/Rectangle/…
The error is:
TypeError: Cannot set property name of #<Object> which has only a getter