#Astro SSG Sanity Presentation
3 messages · Page 1 of 1 (latest)
Hi @willow quartz. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
The knowledge sources provided do not contain enough information to answer your question about Sanity Presentation working with an Astro SSG (static site generation) setup. The Sanity & Astro guide in the knowledge sources only lists official resources and themes without detailing how Sanity Presentation (Sanity's visual editing/preview tool) functions in a static context. [Sanity & Astro]
For accurate guidance on Sanity Presentation with Astro SSG, I'd recommend checking:
Regarding your Cloudflare deployment question: since you're building a static site (SSG), you do not need the @astrojs/cloudflare adapter. The adapter is only required for on-demand (server-side) rendered routes. For a purely static Astro site, you can deploy directly to Cloudflare Workers (or the legacy Cloudflare Pages) without any adapter. [Deploy to Cloudflare; @astrojs/cloudflare]
Note: Cloudflare now recommends using Cloudflare Workers for new projects rather than Cloudflare Pages. [Deploy to Cloudflare]