Download next.js/test/integration/app-dir-export/app/page.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 603 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/integration/app-dir-export/app/page.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/test/integration/app-dir-export/app/page.js
-
curl -L -o page.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/integration/app-dir-export/app/page.js
603 Bytes
| import Link from 'next/link' | |
| export default function Home() { | |
| return ( | |
| <main> | |
| <h1>Home</h1> | |
| <ul> | |
| <li> | |
| <Link href="/another">another no trailingslash</Link> | |
| </li> | |
| <li> | |
| <Link href="/another/">another has trailingslash</Link> | |
| </li> | |
| <li> | |
| <Link href="/another/first">another first page</Link> | |
| </li> | |
| <li> | |
| <Link href="/another/second">another second page</Link> | |
| </li> | |
| <li> | |
| <Link href="/image-import">image import page</Link> | |
| </li> | |
| </ul> | |
| </main> | |
| ) | |
| } | |