How to fetch data from Next.js dynamic route with Apollo client?

前端 未结 0 787
遇见更好的自我
遇见更好的自我 2021-01-03 16:03

I\'m doing a Next.js tutorial with Apollo client. I have this dynamic route to fetch a single post: /posts/[slug]. For instance, /posts/first-post

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