Buckets:
| import Document, { Html, Head, Main, NextScript } from 'next/document' | |
| export default function MyDocument() { | |
| return ( | |
| <Html> | |
| <Head /> | |
| <body> | |
| <Main /> | |
| <NextScript /> | |
| </body> | |
| </Html> | |
| ) | |
| } | |
| MyDocument.getInitialProps = async (context) => { | |
| const initialProps = await Document.getInitialProps(context) | |
| return { | |
| ...initialProps, | |
| head: [ | |
| ...(initialProps?.head ?? []), | |
| <meta name="test-head-initial-props" content="hello" />, | |
| ], | |
| } | |
| } | |
Xet Storage Details
- Size:
- 505 Bytes
- Xet hash:
- dabba915397eb7d8be29f14fd1f0453e07151c6dd7add103e351c29930aa7bd3
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.