I know how to go about adding a library if I am provided a single JS file- for example, with loglevel.js I just move that file into my project's js/lib folder and edit main.js:
And, voilà, I can use log.warn(), etc.:
But what if a library doesn't provide the JS file and asks you to install it using a command line?
Thanks 🙂
And, voilà, I can use log.warn(), etc.:
But what if a library doesn't provide the JS file and asks you to install it using a command line?
Thanks 🙂