Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[material-ui][docs] Improve the Tailwind CSS with Next.js usage section #42105

Open
ByronMike opened this issue May 3, 2024 · 0 comments
Open
Assignees
Labels
docs Improvements or additions to the documentation package: material-ui Specific to @mui/material status: waiting for maintainer These issues haven't been looked at yet by a maintainer support: docs-feedback Feedback from documentation page

Comments

@ByronMike
Copy link

ByronMike commented May 3, 2024

Related page

https://mui.com/material-ui/integrations/interoperability/#tailwind-css

Kind of issue

Missing information

Issue description

The documentation for Tailwind CSS for Next.js could benefit from improvement, particularly regarding the 3rd step.

image

Specifically, while it is mentioned to use #__next for Next.js, it should explicitly state to add this ID to the <body> tag:
<body id="__next">

While some might understand this implicitly, it's not always straightforward, and many tutorials on this topic mention it. I believe it would be more beneficial to include this information in the official documentation rather than relying on random tutorials.

Context

I tried to setup Tailwind CSS with Next.js with the App Router.

Search keywords: Tailwind Next.js setup

@ByronMike ByronMike added status: waiting for maintainer These issues haven't been looked at yet by a maintainer support: docs-feedback Feedback from documentation page labels May 3, 2024
@zannager zannager added the docs Improvements or additions to the documentation label May 3, 2024
@danilo-leal danilo-leal changed the title [docs] Tailwind CSS for Next.js [material-ui][docs] Improve the Tailwind CSS with Next.js usage section May 3, 2024
@danilo-leal danilo-leal added the package: material-ui Specific to @mui/material label May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Improvements or additions to the documentation package: material-ui Specific to @mui/material status: waiting for maintainer These issues haven't been looked at yet by a maintainer support: docs-feedback Feedback from documentation page
Projects
None yet
Development

No branches or pull requests

4 participants