Hi,
By following wknd-react-spa tutorial, I integrated simple editable react SPA by extending WCM Core components (Text, Image). Now as part of the requirement I need to re-use global header & footer, breadcrumb and other custom components for the SPA by extending. Could you please suggest to me how to extend existing HTL components with react SPA?
Views
Replies
Total Likes
Hi @csaini
Please refer the below link to know more about how to extend the existing HTL components with SPA.
https://experienceleague.adobe.com/docs/experience-manager-learn/spa-react-tutorial/extend-component...
Following this link you should be able to create custom components:
https://experienceleague.adobe.com/docs/experience-manager-learn/spa-react-tutorial/custom-component...
Hope this helps!
Thanks!
Views
Replies
Total Likes
Hey @Asutosh_Jena_ , my question was related to custom existing HTL component extending not existing Core Component with the AEM SPA Editor. In my current application we have almost 63 components already there, need to reuse those components in react editor spa.
Do you have any idea how to reuse/extend existing custom htl components( not aem core component). I already implemented aem core component extending.
Views
Replies
Total Likes
@csaini
I am not sure how the components are already written/developed. If you are trying to re-use the existing component you should be able to use the existing component dialog only but the scripts you might need to re-write to support with SPA. It will be better to go with core components and new components which will have support for SPA.
Thanks!
Views
Replies
Total Likes
Views
Like
Replies