Buckets:
| import Document, { Html, Head, Main, NextScript } from 'next/document' | |
| class MyDocument extends Document { | |
| static async getInitialProps(ctx) { | |
| const initialProps = await Document.getInitialProps(ctx) | |
| return { ...initialProps } | |
| } | |
| render() { | |
| return ( | |
| <Html> | |
| <Head /> | |
| <body> | |
| <p>custom _document</p> | |
| <Main /> | |
| <NextScript /> | |
| </body> | |
| </Html> | |
| ) | |
| } | |
| } | |
| export default MyDocument | |
Xet Storage Details
- Size:
- 461 Bytes
- Xet hash:
- 3c7d55009342812c6831221c244be050bd2e8d489853769f301a0699f939e8ee
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.