- Content Layer
- The new version of the v2 Content Collections
- Allows data from any source to be queried and treated as a “collection”
- Includes schema validation and transformations with Zod
Original video by Coding in Public:
Astro 5 is in beta and the new shiny feature is the Content Layer. Here is my first impression.
- Github: https://github.com/coding-in-public/astro-content-layer-first-look
- https://5-0-0-beta.docs.astro.build/en/guides/content-collections/#defining-the-collection-loader
- https://astro.build/blog/astro-5-beta/
- https://restcountries.com/v3.1/all