generator-angular2-library
generator-angular2-library copied to clipboard
Testing as a standalone application
Hello, I have used generator-angular2-library and have created my own 'angular 4' library to be used in my application. I went through the documentation you provided, but just want to confirm this thing.
How could I test my library in development? Like in documentation you have said that we should link it to another application and run it to see the custom changes but it is kind of pain while developing any application.
Is there any way I can directly run the library I am developing on the browser and see my changes being reflected?
I have something working to quickly setup a demo inside the application itself, what I'm using at the moment it's a custom systemjs configuration to bootstrap the app.
I can share it in a PR
On Mon, Jun 19, 2017, 5:04 PM Alok [email protected] wrote:
Hello, I have used generator-angular2-library and have created my own 'angular 4' library to be used in my application. I went through the documentation you provided, but just want to confirm this thing.
How could I test my library in development? Like in documentation you have said that we should link it to another application and run it to see the custom changes but it is kind of pain while developing any application.
Is there any way I can directly run the library I am developing on the browser and see my changes being reflected?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jvandemo/generator-angular2-library/issues/131, or mute the thread https://github.com/notifications/unsubscribe-auth/ADPMLkYoJtlqthbrc6fjmDD55f-P5DLiks5sFpwSgaJpZM4N-ciM .
@izifortune : Sure, more information will be helpful! Thank you!
I have created a command line tool to run tests inside the library : ng2-lib-cli-tools
@alokstar I clean it and finalized it i will try to push it in the following days. Wasn't taking into account external styles etc now it should be all working fine
@izifortune : That will be really helpful! Thank you! Looking forward to your solution!
@alokstar Please have a look here #146
@alokstar will #146 get merged?
#146 should get merged real soon 👍
As soon as it is merged, I will update this thread.