dat.gui.image
dat.gui.image copied to clipboard
Does not work with NPM in a JS project
I add this to the project as a dev dependency and does not work when i try to import it gives an error
Hi @yaserOSource can you give me more information about what is not working exactly?
Did you try to import it as described in the README? Do you have dat.gui
installed?
import dat from 'dat.gui';
// The magic here!
import datGuiImage from 'dat.gui.image';
datGuiImage(dat);
Yes ofc I added this after i was already using dat.gui.
And i copied and pasted it exactly.
Is there a standalone verison?
Unfortunately not you need to install dat.gui
too. What is your dat.gui
version?
And are you using npm to install your packages? Since I'm always working with npm I don't know if that works out of this box.