Example of using vite-plugin-ssr with MUI.
git clone git@github.com:brillout/vps-mui
cd vps-mui/
pnpm install
pnpm run dev
# Or
pnpm run prod
It uses this workaround for mui/material-ui#37375.
See this conversation for more information and for alternative workarounds.