-
Notifications
You must be signed in to change notification settings - Fork 12k
Feat: add support for library development #2669
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
it's quite difficult to find a standard way how to create an Angular2 library. I've been struggling for a while to be able to do this and so far I still can't create a component library which uses all Angular2 concepts (separated files for typescript, html templates, scss style files), and it's also quite hard to include in such a library images or stuff like that. |
I think a basic peace would be to have a away to generate a "valid" npm package to be used in other projects. |
cli could allow generation of projects that are not root projects. Like Maven it would be great to have a concept of Archetype so that: "ng new myStockPicker --architype reusableComponentUI" "ng new stockPricesPI --architype reusableComponentAPI" "ng new stockApp " |
Dupe of #1692 |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
It would be nice to have support for developing component libraries.
Scaffolding could be done similar as for an app, having the app as playground for the library during development.
ng build
would then create tree-shakeable es6(es5) modules and an umd bundle. Of course without the app.The text was updated successfully, but these errors were encountered: