EN

@core / blocks

1.0.0 ▾
verifiedMIT
GitHub

Page builder blocks: 15 accessible sections (hero, pricing, FAQ with JSON-LD…), admin editor and registry for more

Code25 filesContext~681 tokensscan passed

The exact tree that will be injected, after .genpmignore. Pinned to

src/lib/blocks/index.tsread-only · a255d6d
// @core/blocks — bloques de página. Servidor y cliente: definición, registro y render. Editor del admin en `./editor.js`;
// resolución de imágenes en `./media.js` (consulta la base de datos). Estilos en `./blocks.css`.
export {
  type BlockContext,
  type BlockDefinition,
  type BlockInstance,
  type BlockMeta,
  blockMeta,
  BlockInstanceSchema,
  type BlockRegistry,
  blocksToText,
  collectMediaIds,
  createBlockRegistry,
  defineBlock,
  newBlockId,
} from './define.ts';
export * from './core/index.ts';
export { CtaLink, Heading, Img, JsonLd, Section } from './parts.ts';
export { RenderBlocks, type RenderBlocksProps } from './render.ts';

Report @core/blocks

Sign in with GitHub to report a package.