- 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.
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass
-
We create a
manifest.json
file under the webapp folder. We paste the content of the descriptor file shared on SAP Help into themanifest.json
file. -
We run the following code on the terminal and we are now ready to write our project.
ui5 use sapui5@latestlatest
- We will create
index.html
file. We run the following code in our terminal to publish our code via ui5.
ui5 serve