Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
A minimal Astro starter preconfigured for CloudCannon visual editing with Editable Regions, blog, and Tailwind CSS v4.
Astro Minimal Starter is a minimal boilerplate template that combines the Astro framework with CloudCannon's CMS, giving developers a preconfigured starting point where content is edited visually through Editable Regions.
Astro Minimal Starter is a starter repository for building static Astro sites that integrate with CloudCannon. It takes a GitHub repository as its input and produces a configurable, static site with a blog, component-based page building, and CloudCannon's visual editing already wired up. The template runs on Astro, uses Tailwind CSS v4 for styling, and is preconfigured for CloudCannon deployment via the configuration files in the repository.
data-editable="text".src/content/blog/, with pagination and tag-based filtering built in.src/styles/..astro files where content lives directly in the template, demonstrated on the About page.After clicking "Use this template" to copy the repository, you clone it locally and run npm install and npm run dev to start the development server. On CloudCannon, connecting the repository automatically detects the configuration in .cloudcannon/initial-site-settings.json and builds the site. Editing behavior is defined in cloudcannon.config.yml, and components that need live re-rendering are registered in src/scripts/register-components.ts.
Click the "Use this template" button on the repository page to create your own copy, then clone it locally. Run npm install and npm run dev to see the site in development.
Standard pages live in src/content/pages/ as Markdown with front matter and use a component-based workflow. Source editables, like the About page, place content directly in a standalone .astro file and use data-editable="source" for CloudCannon to write changes back to that file. No Markdown file is needed.
The starter demonstrates text, image, array, source, and component regions. Text and image edit front matter values, array enables reorderable content blocks, source edits content written in an Astro file, and component regions support live re-rendering of registered Astro components.
Yes. Blog posts are stored in src/content/blog/ as MDX files, and the template comes with pagination and tag support.
The repository organizes configuration and source files clearly: .cloudcannon/ holds schemas, cloudcannon.config.yml manages editor setup, data/ contains site-wide data like navigation, public/ holds static assets, and src/ contains components, content collections, layouts, pages, scripts, and Tailwind styles.
