emdash is an Astro-native CMS that integrates seamlessly with Astro sites, providing a visual editor, content management, and WordPress migration capabilities. Current stable version is 0.17.2, with frequent releases (weekly/biweekly). It requires Astro >=6.0.0-beta.0, React >=18, and @astrojs/react. Unlike traditional headless CMSs, it leverages Astro's islands architecture for live editing and supports multitenancy with AT Protocol authentication. Designed for teams migrating from WordPress to Astro.
npm install emdashNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to define a content collection and use the editor component in an Astro project.
Ensure project uses ESM (type: module in package.json) and avoid require().
Upgrade Astro to v6 beta or later.
Use new migration command: npx emdash migrate --from wordpress
Use import { defineConfig } from 'emdash/config'Use const { data } = await useCollection('name')Import from 'emdash' directly, not 'emdash/react'
Use import { defineConfig } from 'emdash/config' (note subpath)Switch to import statements or add type:'commonjs' in package.json
Use import { useCollection } from 'emdash' (named)