QuestionQ58

VerifiedStorefront Customization

A developer created a custom Lightning web component for display on the Product Detail page in the store. When the developer tries to add the component to the page in Experience Builder, it does not appear in the list of custom components. Which XML fragment should the developer add to the component’s configuration XML file so that the custom component is available to add to the page?

Explanation

The lightningCommunity__Page target makes a Lightning web component available as a drag-and-drop component on an Experience Builder page, where it appears in the Components panel. The component must also be exposed through its configuration metadata.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!