Skip to content

Search is only available in production builds. Try building and previewing the site to test it out locally.

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 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 _*.json