How to integrate Craft CMS Element API data with Astro.
One appealing part of Astro is that it has a global fetch()
function that you can access and use from any Astro components’ component script.
In this video we learn how to fetch data from the Craft Element API to populate the site with content.
To follow along with this video and the next one on GraphQL, you will need to clone and run the house-quest-craft project. This is covered in the video.
Astro Quick-Start Guide is made up of the following videos: