Download next.js/test/integration/amphtml/pages/amp-ssr.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 226 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/integration/amphtml/pages/amp-ssr.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/test/integration/amphtml/pages/amp-ssr.js
-
curl -L -o amp-ssr.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/integration/amphtml/pages/amp-ssr.js
226 Bytes
| export const config = { amp: true } | |
| export default function Page() { | |
| return ( | |
| <div> | |
| <p id="only-amp">Only AMP for me...</p> | |
| </div> | |
| ) | |
| } | |
| export function getServerSideProps() { | |
| return { | |
| props: {}, | |
| } | |
| } | |