How to fetch data before rendering the app without breaking SSG

后端 未结 0 657
春和景丽
春和景丽 2020-12-04 22:24

I\'m new to next.js and my use case is as follows: I want to deploy a static site to the Vercel CDN, but I also need to make use of request headers before rendering the page

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