Skip to main content
Jun 10, 2021 7:08 PM UTC
Solved

AEM Angular SPA Sly

Does anybody know how can we replicate the data-sly-resource in SPA Angular/SPA React so we can edit the child component and parent component in AEM Edit mode?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Ritesh_Mittal
Ritesh_MittalAccepted solution
Adobe Champion and Community Advisor
Jun 11, 2021 2:42 AM UTC

Hi @renato-valim ,

 

If I understood your requirement correctly then we need import either on of them (React or angular) to make it work-

 

@adobe/aem-angular-editable-components
@adobe/aem-react-editable-components

 

There is also a thread similar to this here

 

Reference-

https://experienceleague.adobe.com/docs/experience-manager-64/developing/headless/spas/spa-getting-started-react.html?lang=en

1 reply

Ritesh_Mittal
Adobe Champion and Community Advisor
Ritesh_MittalAdobe Champion and Community AdvisorAccepted solution
Adobe Champion and Community Advisor
Jun 11, 2021 2:42 AM UTC

Hi @renato-valim ,

 

If I understood your requirement correctly then we need import either on of them (React or angular) to make it work-

 

@adobe/aem-angular-editable-components
@adobe/aem-react-editable-components

 

There is also a thread similar to this here

 

Reference-

https://experienceleague.adobe.com/docs/experience-manager-64/developing/headless/spas/spa-getting-started-react.html?lang=en

Translate