The Boilerplate
Universal Editor for developers
The Adobe Commerce boilerplate supports the Universal Editor (UE) for content and commerce blocks. For setup, instrumentation syntax, and custom block workflow, see the DA.live documentation below.
Commerce boilerplate structure
Section titled βCommerce boilerplate structureβCommerce differs from the standard DA.live approach (centralized ue/models/blocks/ in da-block-collection ): UE instrumentation JSON files live next to each block at blocks/{block-name}/_{block-name}.json. A pre-commit hook composes these into the root-level component-*.json files the UE consumes.
aem-boilerplate-commerce/βββ component-definition.json β generated (UE consumes)βββ component-filters.json β generated (UE consumes)βββ component-models.json β generated (UE consumes)βββ models/β βββ _section.json β add new blocks to component listβββ blocks/ βββ accordion/ β βββ _accordion.json β UE instrumentation βββ hero/ β βββ _hero.json βββ product-recommendations/ β βββ _product-recommendations.json βββ commerce-cart/ β βββ _commerce-cart.json βββ ... β and other blocks with _*.jsonDocumentation
Section titled βDocumentationβ- Setup Universal Editor β First-time setup:
editor.pathconfig, requirements, and behavior - Universal Editor developer reference β full instrumentation reference
- models/_section.json β add new blocks to this component list
- Using the Universal Editor β for content authors; workflow and authoring docs