Comments (4)
I realised you can fix this temporarly by overriding the main property in your own (project) bower.json. Example:
{
"name": "myproject",
"private": true,
"dependencies": {
"jquery": "~2.1.1",
"modernizr": "~2.8.1",
"dat-gui": "~0.5.1"
},
"overrides": {
"dat-gui": {
"main": "build/dat.gui.js"
}
}
}
from dat.gui.
This bug bit me when trying to use dat-gui in meteor using meteor-bower. Please fix. It's clear from the bower docs that there should not be a preceding slash here. Seems too small to make a PR.
from dat.gui.
Just tried @polyclick 's "overrides" workaround. Does the trick, thanks.
from dat.gui.
Sorry for the issue, Bower is now deprecated, so we won't be adding support moving forward. Bug fixes related to Rollup and ES6 modules are probably more relevant now.
from dat.gui.
Related Issues (20)
- add TextareaController,input element read-only, password, recursive modify the css... etc HOT 5
- Value of dat.gui can not be read
- Error: window is not defined HOT 5
- High precision number controller
- Hide / disable "close controls" button HOT 1
- Resize not working when controls first shown
- dat.gui is present after leaving the page HOT 1
- Is there a way to set strings? HOT 3
- gui.removeFolder gives a Uncaught TypeError: folder.domElement is undefined error
- Unable to build using README instructions HOT 1
- How to change a button's value when clicked?
- When dragging over input box, number is changed as if dragging over slider.
- Add link to examples or screenshots on readme
- add types via `index.d.ts` HOT 1
- after use the dat.gui window is not defined in vue, nuxt project HOT 2
- When using NoLoop and redraw callback from onFinishChange(redraw) runs multiple times depending on value
- Duplicated GUI with vite + react + three.js HOT 3
- dat.gui scroll bar cannot scroll to the bottom, can not displaying all contents
- color
- Impossible to revert saved preset to default HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dat.gui.