QuestionQ41

VerifiedGiven a scenario, identify how to implement client-side development and front-end build tools

SPA components are linked to AEM components by using the MapTo() method.

Which code should be used to correctly link an SPA component named ItemList to its AEM counterpart?

Explanation

AEM SPA Editor maps a component by calling MapTo() with the AEM component’s Sling resource type, followed by a second invocation that supplies the SPA component and its edit configuration. The required pattern is MapTo('resource/type')(Component, EditConfig).

Learn more

Community Discussion

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