我需要将[此库] http://scottjehl.github.io/picturefill/
加入到我的angular-cli项目中。我怎样才能做到这一点?如何将外部JS库包含到Angular CLI项目中?
我试过这样https://stackoverflow.com/questions/40526476/using-external-library-with-angular-cli
像这样https://stackoverflow.com/questions/40526476/using-external-library-with-angular-cli
这个解决方案不是为我工作。我仍然在控制台
'图片填充未定义'。
没有在文件入门部分。 – dfsq
非常有帮助的人:/ – Belouccio