# AMP支持
Examples
AMP
使用Next.js,您可以将任何React页面转换为AMP页面,只需最少的配置,并且无需离开React。
你可以在官方的“AMP .dev”网站上阅读更多关于AMP的信息。
# 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
- Only CSS-in-JS is supported.
CSS Modules](/docs/basic-features/built-in-css-support) aren't supported by AMP pages at the moment. You can [contribute CSS Modules support to Next.js
.
# Related
For more information on what to do next, we recommend the following sections:
AMP ComponentsMake your pages more interactive with AMP components.
AMP ValidationLearn about how Next.js validates AMP pages.