Replies: 3 comments 7 replies
-
You can only use one of the two on a single page, but not both |
Beta Was this translation helpful? Give feedback.
2 replies
-
We're facing the same issue at the company where I work. Just wanted to share my experience here, because I think there are several users out there who'd like to leverage a similar feature. |
Beta Was this translation helpful? Give feedback.
5 replies
-
I dont good developer my friend but I have a lot idea and like find good dev to create 6 crypto coin another.if you like help me I very happy.
Morteza kargozar Managment of Iran Apple store
On Thursday, January 28, 2021, 03:25, Alex <notifications@github.com> wrote:
I am currently exactly in the same position. How did you solve this?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
We're using nextjs 10. We'd like to find a way to be able to do both
Our typical use case is a blog page which embeds a search engine. But the need is very generic.
Initially, we had been using nextjs with prisma (or even a simple json) to store some content, works fine using getStaticProps.
Now we're trying to also call a search engine (in our case meilisearch) via HTTP calls, so we moved everything (including the part on prisma) to getServerSideProps. Locally it works fine.
But when we deploy on vercel, we get an issue during deployment, probably because it doesn't limit prisma to read-only access as was previously the case with getStaticProps.
with prisma, it fails
same with a json config file
It doesn't seem that we can use both getStaticProps (for content in prisma or json) and getServerSideProps (for meilisearch) in the same page.
It seems there are old discussions and issues related to this problem, but I haven't seen a clear answer.
#11424
#7208
What is the suggested path forward? or workaround?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions