Packages to help developing powerful content management experiences with Sanity.
-
Make sure to install dependencies from the root folder, this will assure all deps are installed for sub-projects
-
Start turbo dev server for all packages by running
npm run devfrom the root folder
-
To preview changes we have
/appsa.
/apps/nextis used to previewsanity-webchangesb.
apps/studiois used to previewsanity-studiochangesdepending on which package you are working on you can spawn the respective app, each app needs
.envfile to link to a sanity project.after updating the
.envfile for the needed app, justnpm run devfrom its directory.
After everything is set, whenever a change is made to the package in dev will reflect in the preview app when it's in dev mode.
Check out @tinloof/sanity-studio for more details.