- Create
.env.development
file in your root folder with the values of:
SANITY_STUDIO_PROJECT_URL = YOUR_URL; // http://localhost:3000
SANITY_STUDIO_PREVIEW_SECRET = YOUR_SECRET; // unique string
- Run the development server:
npm start
# or
yarn start
- Define new schemas using the
schemas
folder and import new schemas intoschema.js
file
For more info: