Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not work with NPM in a JS project #6

Open
torchesburn opened this issue Mar 19, 2021 · 4 comments
Open

Does not work with NPM in a JS project #6

torchesburn opened this issue Mar 19, 2021 · 4 comments

Comments

@torchesburn
Copy link

I add this to the project as a dev dependency and does not work when i try to import it gives an error

@Jeremboo
Copy link
Owner

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);

@torchesburn
Copy link
Author

Yes ofc I added this after i was already using dat.gui.

And i copied and pasted it exactly.

@torchesburn
Copy link
Author

Is there a standalone verison?

@Jeremboo
Copy link
Owner

Jeremboo commented Mar 25, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants