Download next.js/test/development/basic/asset-prefix/fixture/pages/index.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 200 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/development/basic/asset-prefix/fixture/pages/index.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/test/development/basic/asset-prefix/fixture/pages/index.js
-
curl -L -o index.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/development/basic/asset-prefix/fixture/pages/index.js
200 Bytes
| import Link from 'next/link' | |
| import React from 'react' | |
| export default function Page() { | |
| return ( | |
| <> | |
| <div id="text">Hello World</div> | |
| <Link href="/page2">Page 2</Link> | |
| </> | |
| ) | |
| } | |