Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session
SOLVED

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

Avatar

Level 7

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

 

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

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