Recently I finally completed my app in angular 12 and I wanted to convert it has a library so it can be used has a package that I could install with "npm i"
However, everything I seem to find online are libraries that are started from scratch that dont use an existing project to build with. Or the information I found was partial and cases specific.
I was wondering if anyone knew about a link, video or information that could help me?
What I tried:
Move all my classes, enums, components, services to the generated library using "ng generate library" (in its src folder). When I try to add them to the module export, it keeps giving me errors which I dont seem to find solutions online. Also, it gives me the impression that I'm also doing something that I shouldn't be doing like that...
Help please someone?
Thanks!