$ errors.fyi/nextjs/no-page-custom-font 128 namespaces · 4,025 codes
nextjs · nextjs/no-page-custom-font
no-page-custom-font

No Page Custom Font

A custom font was loaded via a <link> tag inside an individual page component instead of in the _document.js file. Fonts added per-page are re-requested on every client-side navigation. Move global font <link> tags to the <Head> inside _document.js so they are loaded once for the entire application, or use the next/font module for automatic self-hosting and optimization.

References

In this namespace

» community-maintained · contribute on GitHub npm i -g errors-fyi && errorfyi ENOENT