Using a non npm 3rd party library with Ionic / Angular

86 Views Asked by At

Up until now, any 3rd party library I have worked with in my Ionic / Angular project has been available as an npm install and everything has been pretty straightforward.

I’m now trying to utilise this library on a payment form:

http://docs.pay360.com/cardlock/using-the-library/

and I’m really not sure how to do this on my payments component i.e the bit in step 3 - including the library and invoking it ?

Does anyone have any guidance on what I would need to do here? I assume I add the tag to my index.html to import the library but I'm not sure how the library would then be imported in my component?

0

There are 0 best solutions below