Astro Quick-Start Guide

Using Craft CMS JSON Data with Astro

How to integrate Craft CMS Element API data with Astro.

One appeal­ing part of Astro is that it has a glob­al fetch() func­tion that you can access and use from any Astro com­po­nents’ com­po­nent script.

In this video we learn how to fetch data from the Craft Ele­ment API to pop­u­late the site with content.

To fol­low along with this video and the next one on GraphQL, you will need to clone and run the house-quest-craft project. This is cov­ered in the video. 

Astro Quick-Start Guide is made up of the following videos: