Buckets:
silverwolf-x/project / test /integration /css-fixtures /invalid-module-document /pages /_document.js
| import Document, { Head, Html, Main, NextScript } from 'next/document' | |
| import styles from '../styles.module.css' | |
| class MyDocument extends Document { | |
| static async getInitialProps(ctx) { | |
| const initialProps = await Document.getInitialProps(ctx) | |
| return { ...initialProps } | |
| } | |
| render() { | |
| return ( | |
| <Html> | |
| <Head /> | |
| <body className={styles['red-text']}> | |
| <Main /> | |
| <NextScript /> | |
| </body> | |
| </Html> | |
| ) | |
| } | |
| } | |
| export default MyDocument | |
Xet Storage Details
- Size:
- 500 Bytes
- Xet hash:
- 0a49f89098dc41e279981671da440ea4eab19c082158d51e75a82ff6d9f4a3f7
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.