Shared data between all pages (static) #12358
Unanswered
vasil-sarandev
asked this question in
Help
Replies: 1 comment 3 replies
-
I'm using option 1 and it runs well. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey, guys. I'm learning NEXT and to do that I'm building a blog.
To give you context of what I'm trying to achieve - Each Blog Post page would have a recent posts tab.
I want to pull the 5 most recent posts once at build time and share that data between my post pages.
Here's what I tried unsuccessfully until now:
Can any of you guys give me a suggestion on how I could achieve what I'm trying to do?
Beta Was this translation helpful? Give feedback.
All reactions