export async function getStaticPaths() {
      	
        return {
        }
      }

      Typescript language logo
      your recipe card header background
      Next getStaticPaths

      next
      create
      static
      ...
      Next TypeScript recipes

      So your page paths that are pre-rendered depend on external data. To handle this, Next.js lets you export an async function called getStaticPaths from a dynamic page. This function gets called at build time and lets you specify which paths you want to pre-render.

      Shortcut: next.static.paths.create

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.