You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
imagine adding 3 vendor libraries into your project, and you have to repeat all of these steps for each library you add. not to mention each step is a potential case for an error to happen
my current proposal is that we have a cli command like:
ng install lodash
which does the following:
1 does npm install lodash
2 install the typings for the library
it should also be able to figure out which typing command to use:
Your post does add some more information but it is better if it's added on that issue, otherwise this discussion will become even more fragmented than it already is (there are some 5 different issues at least that talk about it).
Right now, it seems that adding 3rd party vendor libraries is very cumbersome based on the current documentation:
https://github.com/angular/angular-cli/wiki/3rd-party-libs
imagine adding 3 vendor libraries into your project, and you have to repeat all of these steps for each library you add. not to mention each step is a potential case for an error to happen
my current proposal is that we have a cli command like:
ng install lodash
which does the following:
1 does npm install lodash
2 install the typings for the library
it should also be able to figure out which typing command to use:
or if we use typescript's planned api: https://blogs.msdn.microsoft.com/typescript/2016/06/15/the-future-of-declaration-files/
3 adds the library to the angular-cli-build.js file
4 adds the mapping for system-config.ts
The text was updated successfully, but these errors were encountered: