我需要將[此庫] 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