Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Component-preload loaded but the other files as well

Hello guys,

I have completed a development of Fiori application and the last step was to generate the Component-preload file.

I used the Gruntjs plugin grunt-openui5 to generate the file. After that I uploaded the file into my application project as we can see below.

After running the application in the Launchpad I noticed the Component-preload is loaded properly but the files (views, controllers, utils, i18) are also being loaded.

Although the Componet-preload is loaded it is not being used because the application is still pointing out to the single files if I try to debug.

I also tried to add the parameter data-sap-ui-preload="sync" in the index.html file but still didn't kick in.

any suggestion?

looking forward to hearing from you.

Kind Regards

Marcos Andrade


If a file/module is not found within Component-preload.js, then it will be loaded directly.

As Vladimir said, the reason the files were loaded individually because framework could not find them in component-preload.

Problem might with prefixes/namespace, naming etc within the component-preload file.

0 View this answer in context

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question