user1441610
user1441610

Reputation: 23

Import component from different Angular-cli project

If you have two angular-cli projects in one solution, is it possible to import components/modules into the angular-cli 1 project from the angular-cli 2 project, and if possible, how could this be done.

Upvotes: 2

Views: 4098

Answers (1)

jmachnik
jmachnik

Reputation: 1120

You can one project as a dependency. Take a look at Primefaces PrimeNG. It is a angular2 based library. It just exports some modules/components that you can use in your app.

You can also get interest in subapps (see https://github.com/angular/angular-cli/issues/761)

Upvotes: 1

Related Questions