Why is getStaticPaths() unable to access an object received from an asynchronous DB call during build time?

前端 未结 0 553
Happy的楠姐
Happy的楠姐 2021-01-27 06:07

Initally the getStaticProps() and getStaticPaths() pre-render the page using products.json file present in a path location.

When i replace the file with a database call a

相关标签:
回答
  • 消灭零回复
提交回复
热议问题