这个问题在这里已有答案:
我需要将[this library] http://scottjehl.github.io/picturefill/
包含在我的angular-cli项目中。我怎样才能做到这一点?
我试过这个https://stackoverflow.com/questions/40526476/using-external-library-with-angular-cli
和这个https://stackoverflow.com/questions/40526476/using-external-library-with-angular-cli
一样
这个解决方案对我不起作用。我还在进入控制台
'picturefill未定义。
我想做一个简单的谷歌搜索会给你答案:
https://github.com/angular/angular-cli/wiki/stories-third-party-lib