Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 950 Bytes

get-static-paths-required.mdx

File metadata and controls

18 lines (12 loc) · 950 Bytes
title i18nReady githubURL
getStaticPaths() function required for dynamic routes.
true

GetStaticPathsRequired: 動的なルートにはgetStaticPaths()関数が必要です。動的ルートからgetStaticPaths関数をexportしていることを確認してください。

何が問題か?

静的モードでは、すべてのルートをビルド時に決定する必要があります。そのため動的ルートは、生成対象の各パスを返すgetStaticPaths関数をexportする必要があります。

以下も参照してください: