Skip to content

lflewwelling/clever-lavender

Repository files navigation

✨ clever-lavender ✨

This is a Next.js site using Sanity as a CMS. It was created with Stackbit in under a minute.

You can create a site just like this one, or explore some variations. How about a different:

🎨  Look
✏️  CMS
⚙️  Static site generator

Develop Locally

  1. Install Node.js and npm

  2. Install npm dependencies:

     npm install
    
  3. Navigate to the "API Settings" page of this Sanity.io project. Then click "Add new token" and create new "write" token.

  4. Assign the created token to the SANITY_ACCESS_TOKEN environment variable (replace {sanity_write_token} with the token):

     export SANITY_ACCESS_TOKEN={sanity_write_token}
    
  5. [Optional] Install and run Sanity Studio locally: install sanity-cli npm install -g @sanity/cli, navigate to the /studio directory, and run sanity install and sanity start. You may be required to login with the Sanity CLI.

  6. Start the Next.js local development server:

     npm run develop
    
  7. Open http://localhost:3000/ in the browser

  8. 🎉

Editing Content

To start editing your site, you can use the Sanity interface at https://clever-lavender-93875.sanity.studio/.

Alternatively, you can use the free on-page editing experience provided by the Stackbit Studio.

Here's a few resources to get you started:

If you need a hand, make sure to check the Stackbit support page.

Colophon

Generated at 2021-10-03T04:59:28.784Z by Stackbit version 0.3.55.