An open API service indexing awesome lists of open source software.

https://github.com/anrsgrl/next-sanity-ts

This template combines Next.js with Sanity to provide an easy setup for building posts, blogs etc.
https://github.com/anrsgrl/next-sanity-ts

next next-template nextjs sanity sanity-studio template

Last synced: about 2 months ago
JSON representation

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

Awesome Lists containing this project

README

        




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](https://github.com/Anrsgrl/next-sanity-js)

## 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:

```bash
git clone https://github.com/Anrsgrl/next-sanity-ts
```
After cloning, navigate to the project directory:
```bash
cd next-sanity-ts
```

#### 3. Install Dependencies
Run the following command to install the required dependencies:
```bash
pnpm install
```

#### 4. Run the Development Server
Start the Next.js development server with:
```bash
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 [email protected].