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:
✏️ CMS
-
Install Node.js and npm
-
Install npm dependencies:
npm install
-
Navigate to the "API Settings" page of this Sanity.io project. Then click "Add new token" and create new "write" token.
-
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}
-
[Optional] Install and run Sanity Studio locally: install sanity-cli
npm install -g @sanity/cli
, navigate to the/studio
directory, and runsanity install
andsanity start
. You may be required to login with the Sanity CLI. -
Start the Next.js local development server:
npm run develop
-
Open http://localhost:3000/ in the browser
-
🎉
To start editing your site, you can use the Sanity interface at https://wonderful-maple-d1b3d.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:
- 📺 Editing Content
- 📺 Adding, Reordering and Deleting Items
- 📺 Collaboration
- 📺 Publishing
- 📚 Stackbit Documentation
If you need a hand, make sure to check the Stackbit support page.
Generated at 2021-03-01T16:50:26.413Z
by Stackbit version 0.3.50
.