You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/02-app/02-api-reference/01-components/link.mdx
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,8 @@ description: Enable fast client-side navigation with the built-in `next/link` co
5
5
6
6
{/* The content of this doc is shared between the app and pages router. You can use the `<PagesOnly>Content</PagesOnly>` component to add content that is specific to the Pages Router. Any shared content should not be wrapped in a component. */}
7
7
8
+
<PagesOnly>
9
+
8
10
<details>
9
11
<summary>Examples</summary>
10
12
@@ -13,6 +15,8 @@ description: Enable fast client-side navigation with the built-in `next/link` co
13
15
14
16
</details>
15
17
18
+
</PagesOnly>
19
+
16
20
`<Link>` is a React component that extends the HTML `<a>` element to provide [prefetching](/docs/app/building-your-application/routing/linking-and-navigating#1-prefetching) and client-side navigation between routes. It is the primary way to navigate between routes in Next.js.
0 commit comments