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
Currently, setting up mui/material-ui theme provider supports Nextjs 12 with pages directory and the mui documentation describes the setup process, and there are many guides online about it. However, the introduction of the Nextjs 13 app router, made many changes to how Nextjs works thus making the old implementation of the theme setup not working anymore. To match the current architecture of Nextjs, as developers we need to make several workarounds to make it work as expected. I have tried it and worked for my previous project without any performance issues because of caching and I'm willing to share my knowledge with other developers.
Since the issue is missing key information and has been inactive for 7 days, it has been automatically closed. If you wish to see the issue reopened, please provide the missing information.
Currently, setting up mui/material-ui theme provider supports Nextjs 12 with pages directory and the mui documentation describes the setup process, and there are many guides online about it. However, the introduction of the Nextjs 13 app router, made many changes to how Nextjs works thus making the old implementation of the theme setup not working anymore. To match the current architecture of Nextjs, as developers we need to make several workarounds to make it work as expected. I have tried it and worked for my previous project without any performance issues because of caching and I'm willing to share my knowledge with other developers.
Priority Support
The text was updated successfully, but these errors were encountered: