I would like to add other js library in widget without changing in core WAB, I don't want to make changes in init.js or index.html, or main.js.
Is their a way we could directly add any library in widget ans use in it.
I see an option add other libraries to WAB widget but where to set the dependency? Use other libraries—Web AppBuilder for ArcGIS (Developer Edition) | ArcGIS for Developers
I don't know what how put the library on the dependency array. I want add P5.js to add some graphics on my widget. I have it on the libs folder
Juan,
I am not sure I make the instructions any simpler. What is it you don't understand.
Is there an example on how do that? That instructions doesn't help if you don't know how to do it.
Thanks Robert Scheitlin, GISP !
Sumit,
That link specifies what you need to do:
So this means you just add the library files to the widgets folder structure and then add the require/define to your widgets require/define list.
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.