This is a helper package to integrate Astro and Sanity
The Astro + Sanity Integration plugin has been deprecated and users are advised to refer to the official Sanity + Astro Plugin going forward. This helper package facilitates integrating Sanity with Astro, following a similar architecture to Sanity’s official packages for frameworks like NextJS.
To install the Astro + Sanity Integration plugin, follow these steps:
astro.config.mjs
file with the required configurations.The Astro + Sanity Integration plugin, though now deprecated, offers a convenient way to integrate Sanity with Astro. Despite not being an official package from Sanity, it follows a similar architecture to their other framework integrations. Users can leverage the provided helper functions for customization, access the Sanity Client globally, query data from Sanity, create custom image builders, and develop portableText serializers and components for enhanced functionality. For further assistance or inquiries, users can contact the developers via Discord or by raising issues on the repository.