astro-strapi-loader

Official

Connect Strapi data to Astro at build time.

AuthorVirtusLab-Open-Source
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Use @sensinum/astro-strapi-loader with Astro Content Layer: build Strapi REST query objects (object and object-array populate per REST parameters), let qs.stringify serialize—never inline query strings. Composable query fragments, dynamic zone "on", locale strategies, generateCollections, getCollection / getEntry. Strapi 5, Astro 6+.

Core Features & Use Cases

  • Load Strapi data at build time into Astro content collections with correct populate graphs, dynamic zones, and i18n.
  • Build REST query objects using Strapi parameters (populate, locale, filters, sorts) and serialize them with qs.stringify for safe URLs.
  • Support per-locale collections and multiple collections from the same endpoint, with composeable fragments and dynamic zones.

Quick Start

Configure generateCollections in src/content.config.ts and run the build to populate Astro collections from Strapi.

Dependency Matrix

Required Modules

None required

Components

Standard package

šŸ’» Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: astro-strapi-loader
Download link: https://github.com/VirtusLab-Open-Source/astro-strapi-loader/archive/main.zip#astro-strapi-loader

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.