Download next.js/examples/custom-server/pages/index.tsx from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 242 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/examples/custom-server/pages/index.tsx
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/examples/custom-server/pages/index.tsx
-
curl -L -o index.tsx https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/examples/custom-server/pages/index.tsx
242 Bytes
| import Link from "next/link"; | |
| export default function Home() { | |
| return ( | |
| <ul> | |
| <li> | |
| <Link href="/a">/a (Pages Router)</Link> | |
| </li> | |
| <li> | |
| <Link href="/b">b (App Router)</Link> | |
| </li> | |
| </ul> | |
| ); | |
| } | |