next.js
next.js copied to clipboard
fix the local fonts varibale inside className
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
Hi @officialrajdeepsingh! This PR is a duplicated of https://github.com/vercel/next.js/pull/42036
Closing as per https://github.com/vercel/next.js/pull/42047#issuecomment-1294978308