How to fetch API data from Axios inside the getStaticProps function in NextJS?

后端 未结 0 1847
闹比i
闹比i 2021-01-18 23:07

I\'m building an App with Next.js, my job is to connect to specific API routes (set up with API Platform) and populate pages with the routes responses.

The API is wor

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