[BUG] v0.31.0 Module not found: Can't resolve '@tweenjs/tween.js'
See original GitHub issueReally appreciate all contributor’s work. I love boardgame too. I think we need to do some improvements in docs. I tried to understand the whole picture by reading documents at the beginning. But it doesn’t provide too much help.
Like this one “Component Toolkit: Components for hex grids, cards, tokens.” No clue about how to using UI Toolkit.
import { Grid } from 'boardgame.io/ui'
import { HexGrid } from 'hex.js'
import { Token } from 'boardgame.io/ui/token'
None of them worked.
Examples only have Chess and Tic-tac-toe are obviously not enough.
I don’t even know an import
in Chess examples.
import Chess from 'chess.js';
Which chess.js
?
I also searched for some main contributor’s repositories. None of them using hex-grid or any images.
I’m keen to help.
Issue Analytics
- State:
- Created 5 years ago
- Comments:10 (4 by maintainers)
The ui module was removed a few versions back. You can still find those old components here though: https://github.com/nicolodavis/bgio-react-component-toolkit
hellooo - is there a way to use this in 0.43.3? i’ve installed tween and it’s still not finding the ui module