Skip to content
/ next-sanity-ts Public template

This template combines Next.js with Sanity to provide an easy setup for building posts, blogs etc.

Notifications You must be signed in to change notification settings

Anrsgrl/next-sanity-ts

Repository files navigation

Sanity Logo typescript

Next.js + Sanity Template

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.

JavaScript Version

If you are looking for a JavaScript version of this template, please check out the repository below:

Next.js + Sanity + JavaScript

Get Started

1. Use the Template

You can use this template to create a new repository quickly by clicking the Use Template button above.

2. Clone the Repository

Alternatively, you can clone the repository directly using the following command:

git clone https://github.com/Anrsgrl/next-sanity-ts

After cloning, navigate to the project directory:

cd next-sanity-ts

3. Install Dependencies

Run the following command to install the required dependencies:

pnpm install

4. Run the Development Server

Start the Next.js development server with:

pnpm dev

Your app should now be running on http://localhost:3000.

5. Set Up Sanity

To set up Sanity studio for the project, please check sanity docs.

Contributing

Feel free to open issues and submit pull requests if you'd like to contribute to this template!

Contact

For any inquiries, please contact me at mail@anarr.dev.

About

This template combines Next.js with Sanity to provide an easy setup for building posts, blogs etc.

Topics

Resources

Stars

Watchers

Forks