Loading image through npm party package not working on React

Hey! I’m trying to load a chessboard through the react-chessground package.

The css itself seems to load well, but the svg images of the board and the pieces don’t.

The background-image url of the board doesn’t appear to point to anything in my meteor project. Is there something I’m missing here related to how to work with css and meteor projects?
If I try to load the chess board on a CRA or Next.js project, It does work well.

Thanks!!
Gabri

Any expert can shed some light in here? :slight_smile:

Gabri

You can try to put your image in the /public folder (Application Structure | Meteor Guide) and use url(/brown.svg)

1 Like