Skip to content

Slot Constraints

Consolidate slot constraints (anyOf, minItems, maxItems) from code-only props into the slot property.

Options

  • Type: boolean
  • Default: false
  • Effect: When true, slot constraint metadata discovered in code-only props is merged into the corresponding slot property. When false, slot constraints are not consolidated.

Path

config.processing.slotConstraints

Example

config:
processing:
slotConstraints: true # Consolidate slot constraints from code-only props