first commit

This commit is contained in:
“dongming”
2025-12-19 12:19:14 +08:00
commit 400b1177c0
145 changed files with 5939 additions and 0 deletions

20
next.config.mjs Normal file
View File

@@ -0,0 +1,20 @@
/** @type {import('next').NextConfig} */
// 如需部署到子路径(如 GitHub Pages设置 basePath
// 例如const basePath = "/your-repo-name";
const basePath = "";
const nextConfig = {
// output: "export", // 静态导出模式,部署时取消注释
basePath,
assetPrefix: basePath,
images: {
unoptimized: true,
},
trailingSlash: true,
env: {
NEXT_PUBLIC_BASE_PATH: basePath,
},
};
export default nextConfig;