11 lines
330 B
JavaScript
11 lines
330 B
JavaScript
// next.config.mjs
|
|
import nextra from "nextra";
|
|
|
|
export default nextra({})({
|
|
// Next.js 配置
|
|
output: "export", // ⚡ 关键:启用静态导出
|
|
// 如果需要,你可以加 basePath、images 等配置
|
|
images: { unoptimized: true }, // 必须!
|
|
trailingSlash: true, // 建议,使链接行为一致
|
|
});
|