Note: You are viewing the new Next.js documentation. The old docs are still available here.

AMP Support

Examples

With Next.js you can turn any React page into an AMP page, with minimal config, and without leaving React.

You can read more about AMP in the official amp.dev site.

Enabling AMP

To enable AMP support for a page, and to learn more about the different AMP configs, read the API documentation for next/amp.

Caveats

Related

For more information on what to do next, we recommend the following sections: