Skip to content

Commit 4801dcd

Browse files
Luis Alvarez Dchibicodetimneutkens
authored
Update AMP docs (#11353)
* Add caveat about css support for amp * Update docs/advanced-features/amp-support/introduction.md * Update introduction.md Co-authored-by: Shu Uesugi <[email protected]> Co-authored-by: Tim Neutkens <[email protected]>
1 parent aac2e3e commit 4801dcd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/advanced-features/amp-support/introduction.md

+4
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ You can read more about AMP in the official [amp.dev](https://amp.dev/) site.
1919

2020
To enable AMP support for a page, and to learn more about the different AMP configs, read the [API documentation for `next/amp`](/docs/api-reference/next/amp.md).
2121

22+
## Caveats
23+
24+
- Only CSS-in-JS is supported. [CSS Modules](/docs/basic-features/built-in-css-support.md) aren't supported by AMP pages at the moment. You can [contribute CSS Modules support to Next.js](https://github.com/zeit/next.js/issues/10549).
25+
2226
## Related
2327

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

0 commit comments

Comments
 (0)