Closed
Description
Related page
https://mui.com/material-ui/guides/interoperability/#tailwind-css
Kind of issue
Unclear explanations
Issue description
I was looking for how to integrate material-ui together with nextjs 14 app router and tailwind and it appears that following the guide does not results in a working configuration.
Step three tells you to add the important option using the id of your app wrapper:
- Add the important option, using the id of your app wrapper. For example, #__next for Next.js and "#root" for CRA:
The #__next id is only valid for the page router of Nextjs. It is not present in the app router. There is no element at all with an id, so people should insert this them self in their root layout
Context 🔦
No response
Search keywords: interoperability nextjs tailwind app router