本页还没有译文
本页 3 段还没译成简体中文,下面显示的是英文原文。typedRoutes
还没翻译译自英文(nextjs.org)本页 3 段都还没译
Note
This option has been marked as stable, so you should use typedRoutes instead of experimental.typedRoutes.
Support for statically typed links. This feature requires using TypeScript in your project.
next.config.js
/** @type {import('next').NextConfig} */
const nextConfig = {
typedRoutes: true,
}
module.exports = nextConfigAI 翻译查看英文原文