const Page = (props) {
        
      }
      export async function getStaticProps() {
        return {
          props: {
          }
        }
      }
      export default Page

      Typescript language logoNext page with getStaticProps

      next
      static
      page
      ...
      Next TypeScript recipes

      Next page with static dynamic props using getStaticProps

      Shortcut: next.page.static.create

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.