next.js icon indicating copy to clipboard operation
next.js copied to clipboard

fix the local fonts varibale inside className

Open officialrajdeepsingh opened this issue 2 years ago • 1 comments

Fix the local font variable inside className and resolve the x Font loaders must be called and assigned to a const in the module scope error. People face with this example

Bug

  • [ ] Related issues linked using fixes #number
  • [ ] Integration tests added
  • [ ] Errors have a helpful link attached, see contributing.md

Feature

  • [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR.
  • [ ] Related issues linked using fixes #number
  • [ ] Integration tests added
  • [ ] Documentation added
  • [ ] Telemetry added. In case of a feature if it's used or not.
  • [ ] Errors have a helpful link attached, see contributing.md

Documentation / Examples

  • [ ] Make sure the linting passes by running pnpm build && pnpm lint
  • [ ] The "examples guidelines" are followed from our contributing doc

officialrajdeepsingh avatar Oct 28 '22 09:10 officialrajdeepsingh

Hi @officialrajdeepsingh! This PR is a duplicated of https://github.com/vercel/next.js/pull/42036

peraltafederico avatar Oct 28 '22 13:10 peraltafederico

Closing as per https://github.com/vercel/next.js/pull/42047#issuecomment-1294978308

balazsorban44 avatar Oct 28 '22 18:10 balazsorban44