Example of using vike with MUI.
git clone https://github.com/mikew/vike-example-mui-emotion-cache
cd vike-example-mui-emotion-cache/
pnpm install
pnpm run dev
# Or
pnpm run prod
This was adapted from https://github.com/brillout/vps-mui.
While Emotion (the CSS-in-JS solution that MUI uses) works out-of-the-box with SSR, it does have a caveat.
This repo adds the Emotion cache portion. After some discussion, we decided to keep this as a separate example.