commit fca3cb76fc46ae3d4fd58c71d484ea55dd533f90 parent d3ef916f3f53dc04a3cf0fe38064b3a9eeb2e90a Author: Yuukin256 <Yuukin256@gmail.com> Date: Sun, 28 Aug 2022 13:37:54 +0900 _document.tsx 作成 Diffstat:
| A | src/pages/_document.tsx | | | 15 | +++++++++++++++ |
1 file changed, 15 insertions(+), 0 deletions(-)
diff --git a/src/pages/_document.tsx b/src/pages/_document.tsx @@ -0,0 +1,15 @@ +import { Html, Head, Main, NextScript } from 'next/document'; + +const Document = () => { + return ( + <Html lang='ja'> + <Head /> + <body> + <Main /> + <NextScript /> + </body> + </Html> + ); +}; + +export default Document;