+ Accompaning example using said package + Removed the "example" from all the examples names
20 lines
397 B
TypeScript
20 lines
397 B
TypeScript
import Document, { Html, Main, Head, NextScript } from 'next/document';
|
|
|
|
class MyDocument extends Document {
|
|
render() {
|
|
return (
|
|
<Html>
|
|
<Head>
|
|
<link rel="icon" href="/favicon.png" />
|
|
</Head>
|
|
<body className='bg-white dark:bg-gray-900'>
|
|
<Main />
|
|
<NextScript />
|
|
</body>
|
|
</Html>
|
|
);
|
|
}
|
|
}
|
|
|
|
export default MyDocument;
|