pnpm create emdash@latest potluck --pm pnpm --install --yes, per https://docs.emdashcms.com/ ("Create your first EmDash site"); the --yes defaults are cloudflare + blog. Replaces the old madmode/ starter (never committed). Generated-by: create-emdash 1.2.0, run by Claude Opus 5.5
14 lines
399 B
TypeScript
14 lines
399 B
TypeScript
/**
|
|
* EmDash Live Content Collections
|
|
*
|
|
* Defines the _emdash collection that handles all content types from the database.
|
|
* Query specific types using getEmDashCollection() and getEmDashEntry().
|
|
*/
|
|
|
|
import { defineLiveCollection } from "astro:content";
|
|
import { emdashLoader } from "emdash/runtime";
|
|
|
|
export const collections = {
|
|
_emdash: defineLiveCollection({ loader: emdashLoader() }),
|
|
};
|