-3

I need to include [this library] http://scottjehl.github.io/picturefill/ into my angular-cli project. How can I do that?

I tried like this https://stackoverflow.com/questions/40526476/using-external-library-with-angular-cli
and like this https://stackoverflow.com/questions/40526476/using-external-library-with-angular-cli
This solutions not work for me. I'm still getting in the console
'picturefill is not defined`.

1
  • very helpfull guys :/ Commented Dec 18, 2017 at 8:41

1 Answer 1

-1

I think making one simple google search would have given you the answer:

https://github.com/angular/angular-cli/wiki/stories-third-party-lib

Sign up to request clarification or add additional context in comments.

3 Comments

You think that I don't know about google?))I try like this stackoverflow.com/questions/41120754/… and like this hackernoon.com/… and some more links, but js file still not working
well, your question wasn't very elaborate to begin with. And now you just keep saying that it doesn't work. It works for all of us so you can start by saying how you diverged from a standard project. maybe the library is incompatible?
Sorry for my question. The library is only available if I add it by inserting a <script> tag into index.html. But I think this is not the most correct way.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.