AnsweredAssumed Answered

Using external javascript libraries

Question asked by paul.haakma on Sep 2, 2019
Latest reply on Sep 9, 2019 by SQuan-esristaff

I'm wondering if anyone has any tips or tricks around importing and using external javascript libraries within AppStudio?

 

There are a couple of libraries that I use a lot in Node that I would like to use occasionally in AppStudio that I can't figure out how to import and use. One is moment.js and the other is Turfjs, and there are others too. There was an older version of moment.js that worked but with AppStudio 3.x it stopped working so I had to switch to using Luxon.

 

If anyone has any tips then please let me know, and/or if you can specifically find a way to get either of those libraries working!

 

https://momentjs.com/ 

https://turfjs.org/ 

 

cheers,

-Paul

Outcomes