AEM with a React SPA - use of private npm packages in Cloud Manager | Community
Skip to main content
Level 6
March 13, 2023
Solved

AEM with a React SPA - use of private npm packages in Cloud Manager

  • March 13, 2023
  • 1 reply
  • 1467 views

hi folks,

 

I am developing a React SPA and using it as a AEM component.

It works very well generally.

Here is my problem though.

I can add public  npm packages (that the Cloud manager gets from a public repo somewhere) fine.

But we have some internal common npm packages that contain reusable React components.

 I don't know how to incorporate these in my cloudmanager build.?

 

Our React guru thinks we should be able to get AEM to call the private libraries above from our repo using Tokens?

Is this possible ( or any other way?)

 

I guess the other obvious way is to take all the common React code and incorporate it into the AEM codebase but we don't want to do that for obvious reasons.

thanks

Fiona

 

 

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 krishna_sai

Hi @fionas76543059 Can you raise a support ticket for the same they should be able to help in pulling packages or dependencies from private repositories.

Thanks,
Krishna

1 reply

krishna_sai
Community Advisor
krishna_saiCommunity AdvisorAccepted solution
Community Advisor
March 14, 2023

Hi @fionas76543059 Can you raise a support ticket for the same they should be able to help in pulling packages or dependencies from private repositories.

Thanks,
Krishna

Level 6
March 14, 2023

Thanks, I'll do that