cancel
Showing results for 
Search instead for 
Did you mean: 

Blank page when loading UI5 app on SAP

0 Kudos

Hi all,

I'm trying to link GET request to button click[on dms] using view1.controller.js. Previously, there was some error regarding axios[see axios_error pic]. To rectify that error, I added in import statement at the beginning of the view1.controller.js[see import_axios pic]. However, redeploying the app & accessing it gives a blank page[see empty_page pic]. I'm not sure what is going wrong. Please assist.
axios-error.pngimport-axios.pngempty-page.png

View Entire Topic
alexandrefossati
Explorer

I recommend you to use fetch or $ajax to call your API.

The import/from axios syntax that you're using is meant to be used in nodejs, that's why it's not working.