Usage examples for lichess' chessground.
pnpm install
pnpm build (or pnpm watch)
pnpm serve (or any other local http server of your choice)
Then browse http://127.0.0.1:8080
To try out a local chessground, modify package.json to use the local version of chessground:
"dependencies": {
  "chessground": "file:~/chessground",
}then run pnpm install again.