loading third party modules into ui5 without access to a global instance name

China☆狼群 提交于 2020-01-01 19:36:14

问题


I'm struggling of finding a way to include third party libraries into my sapui5 controllers.

While blog posts like this one https://blogs.sap.com/2017/04/30/how-to-include-third-party-libraries-modules-in-sapui5/ describe ways to include libaries like moment or underscore, such a solution does not apply to modules that do not export a global name.

How can I load browserifed modules (e.g. https://github.com/jameswyse/forecast) in my SAPUI5 application?

来源:https://stackoverflow.com/questions/44444542/loading-third-party-modules-into-ui5-without-access-to-a-global-instance-name

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!