Watch a live product demo 👀 See how Sanity powers richer commerce experiences

Answers from the community about Next

Some of the conversations between community members on questions, suggestions and tips for using Sanity. Join our Slack to be a part of it.

TopicCategoriesFeaturedRepliesLast Updated
Creating a Sanity project template with Next.js and Vercel5May 24, 2023
Trouble setting up Sanity with Next.js app2May 22, 2023
Trouble with environment variables in a Next.js project6May 28, 2023
Query for Sanity preview mode in Next.js not returning draft posts17May 31, 2023
Using CDN in development with Sanity and Next.js8May 31, 2023
Understanding getStaticProps and preview mode for a Next.js Sanity site4Jun 4, 2023
Trouble with client.fetch() in Next.js 13 directory4Jun 5, 2023
Adding Sanity v3 to existing React project without Next.js3Jun 5, 2023
Troubleshooting deploying new schemas in Sanity Studio for Next.js app24Jun 6, 2023
Using @sanity/asset-utils to load SVGs in Next.js9Jun 7, 2023
How to Deploy a Static Site Generator6Mar 29, 2021
Error: Invalid src prop3Aug 10, 2021
Adding a script to the header of the sanity studio, but I can't find where i can make additions to the <head> element.4Nov 13, 2020
I’ve been trying to create a new permissions document. I tried using sanity exec But I get the error: ClientError: The mutation(s)...18Sep 9, 2020
is it possible to get the new data from sanity without having to re-build my next app every time I want to fetch something...3Oct 1, 2020
I'm having a issue with deploying graphql query something about top level schema error.12Sep 12, 2020
Coming to Next from Gatsby. Is there a equivalent for testing a build locally to detect for differences?5Nov 10, 2020
Is the js sanity client available on github to review source code?4Sep 27, 2020