Is there a version available to publish on Vercel? #257
-
I was really interested in this, but I can't seem to get ISG working on Netlify so I was wondering if there is a version that works on Vercel? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
hey @spencersmb didn't realize this was failing on Vercel, but it should definitely be supported in the meantime what issue are you having with Netlify? the project is deployed "as is" here: https://next-wordpress-starter-dev.netlify.app/ |
Beta Was this translation helpful? Give feedback.
-
No problem! Glad to help in any way. In the meantime one issue I had going
from Netlify to Vercel is that the .env-local must have a prefix added to
it in order for the client side of Next.js to read the API URL when Apollo
is running. If all your ever doing is server-side queries then you don’t
need to worry, BUT I found that in order to get ISR working with Apollo,
for some reason it wouldn’t work unless the client side had access to the
Api URL variable. I’ll look at the PR you linked.
Cheers,
Spencer
…On Tue, Oct 19, 2021 at 8:36 AM Colby Fayock ***@***.***> wrote:
Thanks for letting us know, I fixed the issues where Netlify wouldn't be
able to build the project with Next.js features. the only caveat is that
you need to make sure the Essential Next.js Plugin is installed. That said,
like you mentioned, I don't think ISR is currently working with the plugin,
but other features should work now: #262
<#262>
As far as Vercel is concerned, that's still an issue, but I have a ticket
open for that: #259
<#259>
if you have any additional info or want to try to debug / fix, feel free
to comment on that Issue!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#257 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACJ5GKJY4IA2IDEP6MMMBO3UHVQ43ANCNFSM5GA24V6A>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Beta Was this translation helpful? Give feedback.
-
Fixed via #266 |
Beta Was this translation helpful? Give feedback.
Fixed via #266