I would like to know if it is possible to import a JS library into CocosCreator in general. And afterwards if you make your build to android if it would work as expected.
More specific my question would also be, if the library “Leaflet.js” (https://leafletjs.com/) can be imported into CC 3.0 ?
Yes, the JS library importing is supported in CC 3.0
As for the Leaflet.js library, I’m not quite sure.
It seems that Leaflet.js is a web based library that can’t work on native Android platform