How to create angular2 library project

Please help me create a simple angular2 library project (which only has the angular2 component). After that, I need to reuse this library component in another project (which is created using the angular cli command).

Basically export the angular2 component from a library project, publish it to npm and import from another angular project ..

Thanks in advance.

+4
source share
1 answer

I managed to create an angular library using this library for example ) on Github and see how they do their export, etc.

0

Source: https://habr.com/ru/post/1652967/


All Articles