Skip to content

kbuika/Sanity-NextJS-integration

Repository files navigation

NextJS and Sanity Landing Page

Overview

A simple landing page built with NextJS and Sanity CMS

Built With

  • NextJS
  • Sanity
  • Styled-components

How To Use

To clone and run this application, you'll need Git and Node.js (which comes with npm) installed on your computer. From your command line:

# Clone this repository
$ git clone https://github.com/kibuikaCodes/Sanity-NextJS-integration

# install dependencies
$ npm install

# Start it
$ npm run dev

You will also need to provide environment variables for Sanity. This means you need to create a sanity project. See instructions here

SANITY_PROJECT_ID=YOUR_SANITY_PROJECT_ID_HERE
NEXT_PUBLIC_SANITY_TOKEN=YOUR_SANITY_PROJECT_TOKEN_HERE

Happy Hacking!!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published