Download next.js/test/integration/catches-missing-getStaticProps/pages/[slug].js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 155 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/integration/catches-missing-getStaticProps/pages/%5Bslug%5D.js
- Command line
-
hf download 'hf://datasets/Devendra174/react-code-dataset/next.js/test/integration/catches-missing-getStaticProps/pages/[slug].js'
-
curl -L -o '[slug].js' https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/integration/catches-missing-getStaticProps/pages/%5Bslug%5D.js
155 Bytes
| export async function getStaticPaths() { | |
| return { paths: ['/hello', '/world'], fallback: true } | |
| } | |
| export default () => <p>something is missing 🤔</p> | |