AEM Angular SPA Sly | Community
Skip to main content
June 10, 2021
Solved

AEM Angular SPA Sly

  • June 10, 2021
  • 1 reply
  • 1443 views

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.
Best answer by Ritesh_Mittal

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
June 11, 2021

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