Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events
SOLVED

support for Other SPA integration with AEM

Avatar

Community Advisor

Hi guys,

 

So React and Angular integration is supported by AEM SPA, so is it possible to integrate any other framework with AEM using the Node and NPM?

So the use case here might be migrating a site that's developed in a proprietary framework similar to react, with concepts of components and patterns , so to convert these into an authorable component integrating it with AEM, can we do that?

 

Any thoughts or ideas?

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @Manu_Mathew_ 

 

There are some rules defined, that SPA should follow to make it work in AEM.

 

Follow these steps to get your existing SPA ready to work with AEM.

  1. Make your JS components modular. Make them capable of being rendered in any order, position and size.
  2. Use the containers provided by our SDK to place your components on the screen. AEM provides a page and paragraph system component for you to use.
  3. Create an AEM component for each JS component. The AEM components define the dialog and JSON output.

https://experienceleague.adobe.com/docs/experience-manager-65/developing/headless/spas/spa-architect...

 

Please review these here:

https://experienceleague.adobe.com/docs/experience-manager-65/developing/headless/spas/spa-architect...

 

Here is the AEM Architecture with SPA:

https://experienceleague.adobe.com/docs/experience-manager-65/developing/headless/spas/spa-architect...

Asutosh_Jena__0-1635388428135.png

 

Hope this helps and it will definitely give idea if the existing SPA can be migrated into AEM.

 

Thanks!

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

Hi @Manu_Mathew_ 

 

There are some rules defined, that SPA should follow to make it work in AEM.

 

Follow these steps to get your existing SPA ready to work with AEM.

  1. Make your JS components modular. Make them capable of being rendered in any order, position and size.
  2. Use the containers provided by our SDK to place your components on the screen. AEM provides a page and paragraph system component for you to use.
  3. Create an AEM component for each JS component. The AEM components define the dialog and JSON output.

https://experienceleague.adobe.com/docs/experience-manager-65/developing/headless/spas/spa-architect...

 

Please review these here:

https://experienceleague.adobe.com/docs/experience-manager-65/developing/headless/spas/spa-architect...

 

Here is the AEM Architecture with SPA:

https://experienceleague.adobe.com/docs/experience-manager-65/developing/headless/spas/spa-architect...

Asutosh_Jena__0-1635388428135.png

 

Hope this helps and it will definitely give idea if the existing SPA can be migrated into AEM.

 

Thanks!