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

IMPROVEMENT: Remove the "@next/font" warning #106

Closed
saniyasaher20 opened this issue Oct 2, 2023 · 1 comment
Closed

IMPROVEMENT: Remove the "@next/font" warning #106

saniyasaher20 opened this issue Oct 2, 2023 · 1 comment

Comments

@saniyasaher20
Copy link
Contributor

Description

HOW TO REPRODUCE THE WARNING:

  1. Open the project in code editor
  2. Run this command npm run dev
  3. You will see this warning->
    warn Your project has '@next/font' installed as a dependency, please use the built-in 'next/font' instead. The '@next/font' package will be removed in Next.js 14.

This is the warning screenshot:
next font warning

Refer to this next js doc for more information: https://nextjs.org/docs/pages/building-your-application/upgrading/codemods#use-built-in-font

@Huzaifa785
Copy link
Contributor

I would love to solve this issue, looking more into it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants