Using custom components in Experience fragment in SPA react app

Avatar

Avatar

neerav_it

Avatar

neerav_it

neerav_it

24-02-2021

For our site , we think experience fragment can be good choice for some work.

When I created Experience fragment in react SPA app, I can use some generic components but can not use my custom component.

I can see those components available to add but when I add it , we do not see anything in UI(in experience fragment and in page where we use it). We can see that component in crxde but not in UI.

Also checked same for wknd-spa-react project(demo that AEM folks has provided). Same issue is also happening on their custom component and hello world component.

 

We are using AEM 6.5.0

Thank you in advance for your time and help

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Vijayalakshmi_S

MVP

Avatar

Vijayalakshmi_S

MVP

Vijayalakshmi_S
MVP

24-02-2021

Hi @neerav_it,

Can you confirm if you have React component equivalent for your custom AEM component?

If yes, check if MapTo is defined to point to custom AEM component (MapTo from @adobe/aem-react-editable-components)

Answers (0)