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:

AMP Components

Make your pages more interactive with AMP components.

AMP Validation

Learn about how Next.js validates AMP pages.