Adding Third Party Libraries
The CLI generates development automation code which has the ability to integrate third party libraries into the application. Packages are installed using npm
and the development environment is setup to check the installed libraries mentioned in package.json
and bundle these third party libraries within the application. For more information see https://github.com/angular/angular-cli#3rd-party-library-installation
原文: https://angular-2-training-book.rangle.io/handout/cli/adding-third-party-libraries.html