How to create Component-preload.js files for Fiori Applications
1 Creating Component-preload.js file 1.1 Use of Component-preload.js: Component-preload.js is a minified , obfuscated and uglified file that gathers all the sources of an application to minimize server requests and drastically reduce the application size. Once the development of an application is finished, the resources should be compressed into that file and deployed on the server. Creating the file: The steps required to create the file could be found on http://scn.sap.com/community/mobile/blog/2014/12/10/building-fiori-like-app-in-component-preloadjs . Below is a summary of the steps, plus an additional step which I found necessary to make things work. 1- Download and install Node.js http://nodejs.org/download/ . Once the installation is complete you can check it by running the following command in the command prompt: npm –v 2- I...
Comments