react-code-dataset / next.js /test /development /next-font /font-loader-in-document /pages /_document.js
Download next.js/test/development/next-font/font-loader-in-document/pages/_document.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 342 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/development/next-font/font-loader-in-document/pages/_document.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/test/development/next-font/font-loader-in-document/pages/_document.js
-
curl -L -o _document.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/development/next-font/font-loader-in-document/pages/_document.js
342 Bytes
| import { Html, Head, Main, NextScript } from 'next/document' | |
| import { Abel } from 'next/font/google' | |
| // eslint-disable-next-line no-unused-vars | |
| const abel = Abel({ weight: '400' }) | |
| export default function Document() { | |
| return ( | |
| <Html> | |
| <Head /> | |
| <body> | |
| <Main /> | |
| <NextScript /> | |
| </body> | |
| </Html> | |
| ) | |
| } | |