This is a simple template to get you started with Next.js and Sanity for building dynamic websites with ease. It's perfect for integrating content management with Next.js.
If you are looking for a TypeScript version of this template, please check out the repository below:
You can use this template to create a new repository quickly by clicking the Use Template button above.
Alternatively, you can clone the repository directly using the following command:
git clone https://github.com/Anrsgrl/next-sanity-jsAfter cloning, navigate to the project directory:
cd next-sanity-jsRun the following command to install the required dependencies:
pnpm installStart the Next.js development server with:
pnpm devYour app should now be running on http://localhost:3000.
To set up Sanity studio for the project, please check sanity docs.
Feel free to open issues and submit pull requests if you'd like to contribute to this template!
For any inquiries, please contact me at mail@anarr.dev.