mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
13 lines
170 B
JavaScript
13 lines
170 B
JavaScript
import { withAmp } from 'next/amp'
|
|
|
|
function Home() {
|
|
return <h1>My AMP Page</h1>
|
|
}
|
|
|
|
export const config = {
|
|
foo: 'bar',
|
|
amp: false
|
|
}
|
|
|
|
export default withAmp(Home)
|