Is there a module for lodash that I can import into my dojo project? I know that I can always reference it by window._, but I wanted to be more conventional (as far as dojo is concerned) and formally require it into my module.
Thanks in advance.
Is there a module for lodash that I can import into my dojo project? I know that I can always reference it by window._, but I wanted to be more conventional (as far as dojo is concerned) and formally require it into my module.
Thanks in advance.
Copyright © 2021 Jogjafile Inc.
Have you tried the AMD branch? https://github.com/lodash/lodash/tree/3.9.3-amd
You should then be able to add it to your packages, and require it in like any other module.
Edit: It worked locally by adding lodash to the packages to my dojoConfig object
I was then able to use the lodash modules: