You have to import it like import { GUI } from 'three/examples/jsm/libs/dat.gui.module' . Then you can use it inside useEffect like below ...
確定! 回上一頁