dbb63850ee
This PR adds an example for using Next.js with [Reflexjs](https://reflexjs.org). Thank You ## Documentation / Examples - [x] Make sure the linting passes
17 lines
377 B
TypeScript
17 lines
377 B
TypeScript
import NextDocument, { Html, Main, NextScript, Head } from 'next/document'
|
|
import { InitializeColorMode } from 'reflexjs'
|
|
|
|
export default class Document extends NextDocument {
|
|
render() {
|
|
return (
|
|
<Html lang="en">
|
|
<Head />
|
|
<body>
|
|
<InitializeColorMode />
|
|
<Main />
|
|
<NextScript />
|
|
</body>
|
|
</Html>
|
|
)
|
|
}
|
|
}
|