Closed pjmolina closed 7 years ago
Whoa wait, this isn't ready yet! I'm still iterating on the setup. As far as I can tell, there's actually a bug with ngc
on windows that causes that problem: https://github.com/angular/angular/issues/15192
When this is ready, it'll be up on angular.io though, with full instructions.
Hi Filipe! Thanks for providing this quickstart for building libs. I am build an ng lib following your quickstart.
How to properly consume the lib in another app?
I am doing the install the app as follows:
Then, in the main module, doing the import in this way:
This results in the following error on build stage:
I tried importing the
dist/
files and also thebundles/
versions having similar errors in either cases.Environment used: the app is built using angular-cli based (v. 1.0.0.-rc.2) plus angular v.2.4.9, node 7.7.2 on Windows 10.
Thanks!