Download next.js/test/production/empty-ssg-fallback/pages/[...slug].tsx from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 240 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/production/empty-ssg-fallback/pages/%5B...slug%5D.tsx
- Command line
-
hf download 'hf://datasets/Devendra174/react-code-dataset/next.js/test/production/empty-ssg-fallback/pages/[...slug].tsx'
-
curl -L -o '[...slug].tsx' https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/production/empty-ssg-fallback/pages/%5B...slug%5D.tsx
240 Bytes
| export const getStaticPaths = async () => { | |
| return { | |
| paths: [], | |
| fallback: 'blocking', | |
| } | |
| } | |
| export const getStaticProps = async () => { | |
| return { | |
| notFound: true, | |
| } | |
| } | |
| export default function Page() { | |
| return <p>slug</p> | |
| } | |