I saw this lodash-thing once and thought it would be nice to use. So I try now for days, but can't get it running. Please be patient as I'm a noob in this thing.
I have npm install lodash --save
.. so it is in my node_modules
and in my package.json
I have:
"dependencies": {
"del": "^2.2.2",
"gulp": "^3.9.1",
"gulp-concat": "^2.6.0",
"gulp-notify": "^2.2.0",
"gulp-sass": "^2.3.2",
"gulp-uglify": "^2.0.0",
"lodash": "^4.15.0"
},
so now, when I do const _ = require("lodash");
it should work, right?
If not, what did I forgot?
would be nice if someone could explain it to me. I'm watching and reading tutorials for days now, but whatever I try, I can't get it working.