SPA components are connected to AEM components via the MapTo() method.
Which code should be used to correctly connect an SPA component called ItemList to its AEM equivalent?
The MapTo() method is used to map a SPA component to an AEM component by specifying the sling:resourceType of the AEM component as an argument. The MapTo() method should be called on the SPA component and not on a string. The second argument of the MapTo() method is optional and can be used to provide an edit configuration for the SPA component.
Currently there are no comments in this discussion, be the first to comment!