-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
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] Add new Next.js integration package #39947
Conversation
Netlify deploy previewBundle size report |
Co-authored-by: Marija Najdova <mnajdova@gmail.com> Signed-off-by: Siriwat K <siriwatkunaporn@gmail.com>
…/nextjs-integration
Done! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This look good to me 👍 Next, we should update all examples we have 🎉
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking awesome! A few copy suggestions — @samuelsycamore feel free to double-check them, too! 😃
Co-authored-by: Danilo Leal <67129314+danilo-leal@users.noreply.github.com> Signed-off-by: Siriwat K <siriwatkunaporn@gmail.com>
Signed-off-by: Siriwat K <siriwatkunaporn@gmail.com>
Closes #34575
Summary
new package:
@mui/material-nextjs
versioning: follow Material UI, starts at 5.14.18
docs: replace the old page with https://deploy-preview-39947--material-ui.netlify.app/material-ui/guides/nextjs/
✅ Tested the code with mui docs and local project with code sandbox build
New feature
Added
enableCssLayer
to the app router API to use@layer
so that other styling solution, e.g. Taiwind or Pure CSS can override Material UI.Next step (in separate PRs)
Add Image and Link to this package.
Other approaches
❗️Using subfolder in Material UI does not work well because we need more than one folder (a separate package makes a lot more sense). See the discussion.
I have followed (at least) the PR section of the contributing guide.