- create
.env.development
file in root folder with values of:
SANITY_STUDIO_PROJECT_URL=YOU_URL // e.g http://localhost:3000
SANITY_STUDIO_PREVIEW_SECRET=YOUR_SECRET // unique string
- Run the development server:
npm run start
# or
yarn start
For more info: