fix: add pages/_error and _document to fix Html import in build

This commit is contained in:
2026-04-01 04:56:21 +00:00
parent 22c1df67c1
commit fca3194801
2 changed files with 26 additions and 0 deletions

12
pages/_document.tsx Normal file
View File

@@ -0,0 +1,12 @@
import { Html, Head, Main, NextScript } from 'next/document';
export default function Document() {
return (
<Html lang="en">
<Head />
<body>
<Main />
<NextScript />
</body>
</Html>
);
}