Skip to content

Astro Minimal Template

The Astro + Content Island Minimal Template is a lightweight project starter designed to help you get up and running quickly with Astro and Content Island.

It includes only the essential setup needed to start building a real project, without unnecessary abstractions or opinionated structure.


What’s included

This template provides a minimal but complete foundation:

  • Astro initial project setup
    A clean Astro project created with the official defaults.

  • Content Island access token configuration
    Environment-based configuration for securely connecting to your Content Island project.

  • Content Island client setup
    A dedicated lib module that initializes createClient, allowing you to immediately start querying and consuming Content Island data across your project.

  • Example content consumption

    • A sample Page
    • A sample Pod
      Both demonstrate how to fetch and render data using the Content Island API.
  • Preconfigured developer tooling

    • Prettier configuration
    • Path aliases for cleaner and more maintainable imports
  • Default layout
    A base layout ready to be extended as your project grows.


When to use this template

This template is ideal if you:

  • Are starting a production project and want full control from day one
  • Want a minimal starting point without unnecessary boilerplate
  • Need a fast way to prototype or validate a Content Island + Astro setup

What this template does not include

To stay minimal and flexible, this template intentionally does not include:

  • UI frameworks or design systems
  • Predefined content models
  • Build or deployment presets

These decisions are left to you, depending on your project’s needs.


Getting started

  1. Create a new project using this template
  2. In the final step (Quick Start), copy the CLI command provided and run it in your terminal.
  3. Once created, run your local server:
Terminal window
npm run dev