Skip to content

Latest commit

 

History

History
23 lines (12 loc) · 1.24 KB

File metadata and controls

23 lines (12 loc) · 1.24 KB

sanity-template-muna

Sanity.io starter template with a Muna based studio.

This template repo is used by Sanity.io to easily create deployed and configured Muna-projects through a web interface. You can test it out by creating this project.

The template contains a Sanity Studio. It can be deployed on Netlify.

Local development

You develop the templates in /template, and review your changes in /build.

  1. Install dependencies with npm install in the root folder. This will install the template development tool that watches changes in the /template folder and output the template to /build.

  2. Run npm run dev in root folder. This will build the template files to /build. This is how the code will look for those who install the project later.

  3. Run sanity install in /build/studio This will install the necessary dependencies for the Studio.

  4. Run sanity start in /build/studio. This will start the development server for Sanity Studio.

Notes

When developing, you may change projectId and dataset in dev/template-values-development.json to connect with a different Sanity project.