I would simply like to use the functions from Lodash on my website.
I included this in the <head>
section:
<script scr="https://cdn.jsdelivr.net/npm/lodash@4.17.10/lodash.min.js"></script>
What else should I do? I tried to add:
<script>
var _ = require('lodash');
</script>
But I get the following error:
Uncaught ReferenceError: require is not defined