export
Unsupported feature
Section titled “Unsupported feature”不支持的功能
https://nextjs.org/docs/app/building-your-application/deploying/static-exports#unsupported-features
Features that require a Node.js server, or dynamic logic that cannot be computed during the build process, are not supported:
需要Node.js服务器的功能, 或者在构建过程中无法计算的动态逻辑,不支持:
- Dynamic Routes with
dynamicParams: true - Dynamic Routes without
generateStaticParams() - …
可能不会识别 next.config.ts 导致变成默认配置, 尽量写 next.config.js 或者 next.config.mjs