on 09-23-2015 7:09 AM
Hi!
I have created a Component-preload.js file for a custom SAPUI5 app using the gulp method. The file is not loaded so I'm wondering...
a) Must I have also a Component.js or some other necessary files in the project? Currently I have only index.html
b) Is the namespace wrong? How to determine the correct namespace of my project?
My Index.html:
https://jsbin.com/hajewimifa/edit?html,output
The project structure in Eclipse:
The Component-preload looks like this:
Hi Ossi,
1 . Component-preload need component.js.
Else:
I have some idea, try this:
1. Under module path: don't give view names, because module should point to component.js
2. Use Viewpath property to add views,
3. try to create one metadata, under that add your view name, config, view path....
Thanks,
Karthik A
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Component-preload is valid only if you have component, not sure it would work with plain views
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.