cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

sapui5 vscode problem when preview - component not found

helmut_sieberer
Participant
0 Kudos
374

Hello,

Maybe I can get some help...

in my vscode workspace I have two separate apps.

app1 zkdklsel is type component

app2 zkdtagesdok is type application

that is how app2 wants to use app1:

"resourceRoots": {
"zkdklsel": "./zkdklsel/webapp"
},
"componentUsages": {
"klientSelect": {
"name": "zkdklsel",
"settings": {},
"componentData": {
"singleSelect": false,
"dokVfTyp": "TDV2"
}
}
},

but i get an error on preview:

failed to load 'zkdklsel/Component.js' from ../zkdklsel/webapp/Component.js: script load error

i have tried and searched for so long and in many different ways, but i doesn't work.

And it should also work when deployed - so maybe i only have to set something in my ui5.yaml ?

thanks for your help

Helmut

Accepted Solutions (1)

Accepted Solutions (1)

boghyon
Product and Topic Expert
Product and Topic Expert

@ future readers; please see the same question asked at https://stackoverflow.com/q/79247043/5846045.

Answers (0)