How to share code between a regular Angular component and an Angular Element?

Lets assume that I'll use nx to be able to share libraries between different sites in a mono repo. I have two sites:

  • Site 1: Angular App
  • Site 2: Static Site

Site 1 has a helloWorld Angular Component. On site 2 I want to have the same helloWorld component, but as an Angular Element.

Is there a way to share code between the two? Or, nest the regular component inside the element?



from Recent Questions - Stack Overflow https://ift.tt/37GPnvQ
https://ift.tt/eA8V8J

Comments

Popular posts from this blog

I get wrong characters when retreiving the message body of an email using TIdIMAP4.UIDRetrieveTextPeek2()

How to drop the all the 1's in a correlation matrix

Today Walkin 14th-Sept