Loading lodash or other external JS libraries
Monib Ahmed
May 20 2023 | 3:55 pm
Hi, I'm trying to load some external JS libraries. Can you advise me what is the recommended way of doing this?
I've tried including the paths in Files Search Path, and the paths are showing up
MacOS:/Users/monibahmed/node_modules/lodash
MacOS:/Users/monibahmed/node_modules/lodash/fp
But the following post "undefined" in the console:
var lodash = require("lodash");
post(lodash.VERSION+'\n')