Open tuler opened 2 months ago
Given that piece image URLs are rendered as href="[object Object]"
, I guess the problem comes from how Next.js loads images brought by 3rd-party dependencies (.i.e. images located in the node_modules
folder). I suggest you contact the Next.js team on this issue.
And if the chessboards look OK (except being empty), then it means there is no problem with CSS loading. It would be a good idea to avoid adding any custom CSS-related configuration rules to the default Next.js config in that case.
I'm trying to use Chessboard with a Next.js application, but pieces are not being rendered correctly. Pieces URL are being rendered as:
I'm not sure if some Webpack configuration is missing here. I tried to customize Next.js Webpack configuration like below:
But I get the warnings below, and it still doesn't work.
Is there any example out there that uses Next.js?