Skip to content

Docs: Wrong example with app router documentation on pages router with Fonts #88291

@ackvf

Description

@ackvf

What is the documentation issue?

https://nextjs.org/docs/pages/getting-started/fonts#with-tailwind-css

This is the Pages Router documentation, however, it applies the Fonts using App Router mechanism.

The links referenced on the page also sometimes lead to /docs/pages/* and sometimes to /docs/app/*.

Is there any context that might help us understand?

There is no Layout component at app/layout.tsx in Pages Router.

Does the docs page already exist? Please link to it.

https://nextjs.org/docs/pages/getting-started/fonts#with-tailwind-css


related: https://stackoverflow.com/questions/79863796/how-to-correctly-define-next-font-in-next-js-pages-router-with-tailwind-v4s-in

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions