first commit
This commit is contained in:
10
next.config.mjs
Normal file
10
next.config.mjs
Normal file
@@ -0,0 +1,10 @@
|
||||
// next.config.mjs
|
||||
import nextra from "nextra";
|
||||
|
||||
export default nextra({})({
|
||||
// Next.js 配置
|
||||
output: "export", // ⚡ 关键:启用静态导出
|
||||
// 如果需要,你可以加 basePath、images 等配置
|
||||
images: { unoptimized: true }, // 必须!
|
||||
trailingSlash: true, // 建议,使链接行为一致
|
||||
});
|
||||
Reference in New Issue
Block a user