Loading 3rd party libraries in SAPUI5

JavaScript includes various third-party libraries that ease the development while working on SAP UI5 app. You can use following jQuery as below −


Other common JavaScript libraries that are in use −

  • MomentJS
  • Loadsh

To load a third party library in SAP UI app project, create a folder “libs”. This folder is used to put third-party libraries −

You can create a file named- moment.js and paste the code that has been copied from third party library website. This code can be included in your UI5 app using the library - index.html.