Since I haven’t built %chess in a long time, I basically started from scratch and relied on the README instructions. So I have way more notes on that.
Vite
I was able to get vite to work. It required running npm install vite and within ../src/frontend running npm install to get all the packages. The instructions should probably include these commands.
But for the missing graphics, I don't really know what's getting disconnected. I checked in /node_modules for /chessground/assets. Both the chessground.brown.css and the chessground.cburnett.css are still in there. Those define the svgs in base64.
Vite works but no graphics
README Development Section
Since I haven’t built %chess in a long time, I basically started from scratch and relied on the README instructions. So I have way more notes on that.
Vite
I was able to get vite to work. It required running
npm install vite
and within../src/frontend
runningnpm install
to get all the packages. The instructions should probably include these commands.But for the missing graphics, I don't really know what's getting disconnected. I checked in
/node_modules
for/chessground/assets
. Both thechessground.brown.css
and thechessground.cburnett.css
are still in there. Those define the svgs in base64.So I'm not really sure what's wrong.
The Vite dev thingy has the same problem.