Advantages of Using a Monorepo?

2 replies
Last updated: Jan 25, 2021
Hi folks. When building a site with Sanity and Gatsby, is it standard to do this as a monorepo of the two or to keep them in separate repositories?
Both is fine. But with monorepo, you can have an easier time deploying (1) testing and bootstraping both project, in exchange for slightly more complicated setup.
1.
Lots of static host provider offer support for multi site, monorepo build
Thanks
user M
Appreciate the advice.

Sanity – Build the way you think, not the way your CMS thinks

Sanity is the developer-first content operating system that gives you complete control. Schema-as-code, GROQ queries, and real-time APIs mean no more workarounds or waiting for deployments. Free to start, scale as you grow.

Was this answer helpful?