You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is an error when we use React project + vite ssr. When we build app, we get error
To escape this problem we shoud add @mui/styled-engine to ssr vite config like this ssr: { noExternal: [ '@mui/material', '@mui/utils', '@mui/styled-engine', '@mui/icons-material', '@mui/system', 'react-countdown-circle-timer', ], },
Expected behavior
No response
Context
No response
Your environment
npx @mui/envinfo
Don't forget to mention which browser you used.
Output from `npx @mui/envinfo` goes here.
Search keywords: vite, ssr
The text was updated successfully, but these errors were encountered:
Steps to reproduce
Steps:
Current behavior
There is an error when we use React project + vite ssr. When we build app, we get error
To escape this problem we shoud add @mui/styled-engine to ssr vite config like this
ssr: { noExternal: [ '@mui/material', '@mui/utils', '@mui/styled-engine', '@mui/icons-material', '@mui/system', 'react-countdown-circle-timer', ], },
Expected behavior
No response
Context
No response
Your environment
npx @mui/envinfo
Search keywords: vite, ssr
The text was updated successfully, but these errors were encountered: