Unable to use a react component in AEM | Community
Skip to main content
New Participant
March 7, 2022
Solved

Unable to use a react component in AEM

  • March 7, 2022
  • 1 reply
  • 845 views

 

Hi,

 

I create a component on react and I link it with  new AEM component and I allow it in one template.

 

once I tried to use the component, I drag and drop but nothing change in the UI

Can Please tell me what is the possible issue?

 

here is my react component code:

 

 

 

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 milind_bachani

Hi @foalowaini ,

 

Did  import the new react component in the import-component list ?

Thanks.

1 reply

milind_bachani
milind_bachaniAccepted solution
Employee
March 7, 2022

Hi @foalowaini ,

 

Did  import the new react component in the import-component list ?

Thanks.

New Participant
March 7, 2022

thanks @milind_bachani, that was the mistake