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

[examples] Update Next.js examples to use built-in font #36315

Merged
merged 1 commit into from
Feb 27, 2023
Merged

[examples] Update Next.js examples to use built-in font #36315

merged 1 commit into from
Feb 27, 2023

Conversation

Juneezee
Copy link
Contributor

Starting with Next.js 13.2, @next/font is now built-in to Next.js as next/font. We no longer need to install @next/font separately.

Reference: https://nextjs.org/blog/next-13-2#other-improvements
Reference: https://nextjs.org/docs/messages/built-in-next-font

`@next/font` is now built-in to Next.js as `next/font`.

Reference: https://nextjs.org/blog/next-13-2#other-improvements
Reference: https://nextjs.org/docs/messages/built-in-next-font
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
@mui-bot
Copy link

mui-bot commented Feb 24, 2023

Netlify deploy preview

https://deploy-preview-36315--material-ui.netlify.app/

Bundle size report

No bundle size changes

Generated by 🚫 dangerJS against 101545c

@zannager zannager added the examples Relating to /examples label Feb 24, 2023
@ZeeshanTamboli ZeeshanTamboli changed the title [examples] Update Next.js examples to 13.2 font [examples] Update Next.js examples to use built-in font Feb 27, 2023
Copy link
Member

@ZeeshanTamboli ZeeshanTamboli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for updating!

@ZeeshanTamboli ZeeshanTamboli merged commit 5cc1dc8 into mui:master Feb 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
examples Relating to /examples nextjs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants