Skip to content

Commit

Permalink
Update AMP docs (#11353)
Browse files Browse the repository at this point in the history
* Add caveat about css support for amp

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

* Update introduction.md

Co-authored-by: Shu Uesugi <shu@chibicode.com>
Co-authored-by: Tim Neutkens <tim@timneutkens.nl>
  • Loading branch information
3 people authored Mar 26, 2020
1 parent aac2e3e commit 4801dcd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/advanced-features/amp-support/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ You can read more about AMP in the official [amp.dev](https://amp.dev/) site.

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).

## Caveats

- 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).

## Related

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

0 comments on commit 4801dcd

Please sign in to comment.