Unverified Commit 06190595 authored by Lee Robinson's avatar Lee Robinson Committed by GitHub

docs: added a few legacy version tags (#78506)

parent 21712572
--- ---
title: appDir title: appDir
description: Enable the App Router to use layouts, streaming, and more. description: Enable the App Router to use layouts, streaming, and more.
version: legacy
--- ---
> **Good to know**: This option is **no longer** needed as of Next.js 13.4. The App Router is now stable. > **Good to know**: This option is **no longer** needed as of Next.js 13.4. The App Router is now stable.
......
--- ---
title: env title: env
description: Learn to add and access environment variables in your Next.js application at build time. description: Learn to add and access environment variables in your Next.js application at build time.
version: legacy
--- ---
{/* 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. */} {/* 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. */}
......
--- ---
title: ViewTransition title: viewTransition
description: Enable ViewTransition API from React in App Router description: Enable ViewTransition API from React in App Router
version: experimental version: experimental
--- ---
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
title: How to preview content with Preview Mode in Next.js title: How to preview content with Preview Mode in Next.js
nav_title: Preview Mode nav_title: Preview Mode
description: Next.js has the preview mode for statically generated pages. You can learn how it works here. description: Next.js has the preview mode for statically generated pages. You can learn how it works here.
version: legacy
--- ---
> **Note**: This feature is superseded by [Draft Mode](/docs/pages/guides/draft-mode). > **Note**: This feature is superseded by [Draft Mode](/docs/pages/guides/draft-mode).
......
--- ---
title: Image (Legacy) title: Image (Legacy)
description: Backwards compatible Image Optimization with the Legacy Image component. description: Backwards compatible Image Optimization with the Legacy Image component.
version: legacy
--- ---
Starting with Next.js 13, the `next/image` component was rewritten to improve both the performance and developer experience. In order to provide a backwards compatible upgrade solution, the old `next/image` was renamed to `next/legacy/image`. Starting with Next.js 13, the `next/image` component was rewritten to improve both the performance and developer experience. In order to provide a backwards compatible upgrade solution, the old `next/image` was renamed to `next/legacy/image`.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment