Unverified Commit 5054e943 authored by Tim Neutkens's avatar Tim Neutkens Committed by GitHub

Remove experimental flag (#7048)

parent 6f9c3aa8
...@@ -1886,11 +1886,6 @@ The [polyfills](https://github.com/zeit/next.js/tree/canary/examples/with-polyfi ...@@ -1886,11 +1886,6 @@ The [polyfills](https://github.com/zeit/next.js/tree/canary/examples/with-polyfi
To enable AMP support for a page, first enable experimental AMP support in your `next.config.js` and then import `withAmp` from `next/amp` and wrap your page's component in it. To enable AMP support for a page, first enable experimental AMP support in your `next.config.js` and then import `withAmp` from `next/amp` and wrap your page's component in it.
```js ```js
// next.config.js
module.exports = {
experimental: { amp: true }
}
// pages/about.js // pages/about.js
import { withAmp } from 'next/amp' import { withAmp } from 'next/amp'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment