Closed oliverjanik closed 7 years ago
Found a dupe #1692.
@oliverjanik I agree that it would be an awesome addition to the cli, sadly it's not going to be there before the v1 release, and it's not yet clear when it will be there.
Some ways to get you started might be these starters:
https://github.com/preboot/angular-library-seed https://github.com/beeman/generator-ngx-module
and reading through these blogs:
http://blog.mgechev.com/2017/01/21/distributing-an-angular-library-aot-ngc-types/ https://medium.com/@cyrilletuzi/how-to-build-and-publish-an-angular-module-7ad19c0b4464#.9y88ipdk7
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.
Say, I want to create a reusable datepicker and package it for consumption for angular2 app. What options do I have today? As an example angular2-material has an incredibly complex gulp based process.
After build and publish, such a library would be readily usable by just issuing
npm install my-datepicker
for both JIT and AOT angular 2 apps.Please provide a canonical way to author Angular2 libs and components. I strongly believe this is important for the ecosystem to flourish.