rsnext/packages/next/pages/_document.web.tsx
Jiachi Liu 0c494af97c
Use absolute document and app paths for the middleware SSR loader (#30963)
* use absolute path

* use absolute path

* update test

* rename modern -> web

Co-authored-by: Shu Ding <g@shud.in>
2021-11-04 14:10:07 -05:00

14 lines
245 B
TypeScript

import React from 'react'
import { Html, Head, Main, NextScript } from './_document'
export default function Document() {
return (
<Html>
<Head />
<body>
<Main />
<NextScript />
</body>
</Html>
)
}