ui5-walkthrough

Initialization of Project

  1. We add the webapp folder to the directory in the project. Then, we run the codes one by one on the Terminal. You may receive an error when you want to run the ui5 init code without the webapp folder.
npm init --yes
ui5 init 

Note If you receive the following error while using the ui5 command, you can bypass the Security Execution Process with the following code.

Screenshot of Security Execution Process Error.
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass
  1. We create a manifest.json file under the webapp folder. We paste the content of the descriptor file shared on SAP Help into the manifest.json file.

  2. We run the following code on the terminal and we are now ready to write our project.

ui5 use sapui5@latestlatest
  1. We will create index.html file. We run the following code in our terminal to publish our code via ui5.
ui5 serve