From 5438261542802949fff8b1dccaea1d58955a08ef Mon Sep 17 00:00:00 2001 From: Konrad <91384379+konnraad@users.noreply.github.com> Date: Mon, 27 May 2024 16:19:34 +0200 Subject: [PATCH 1/3] Add npx commands to allow execution of ui5 commands --- docs/03_Get-Started/step-1-ready-851bde4.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/03_Get-Started/step-1-ready-851bde4.md b/docs/03_Get-Started/step-1-ready-851bde4.md index d659ed5e..18c66f7e 100644 --- a/docs/03_Get-Started/step-1-ready-851bde4.md +++ b/docs/03_Get-Started/step-1-ready-851bde4.md @@ -116,11 +116,11 @@ You can view and download all files at [Quick Start - Step 1](https://ui5.sap.co 7. Open a terminal in the app root folder and execute `npm i -D @ui5/cli` to install UI5 Tooling. -8. Execute `ui5 init` in the app root folder. +8. Execute `npx ui5 init` in the app root folder. -9. Execute `ui5 use OpenUI5` +9. Execute `npx ui5 use OpenUI5` -10. Execute `ui5 add sap.m sap.tnt sap.ui.core sap.ui.layout themelib_sap_horizon` +10. Execute `npx ui5 add sap.m sap.tnt sap.ui.core sap.ui.layout themelib_sap_horizon` 11. Execute `npm start` to start the web server and to open a new browser window hosting your newly created `index.html`. From 19df414f7caef2075c6e5f8bf3715d018c7e9838 Mon Sep 17 00:00:00 2001 From: Konrad <91384379+konnraad@users.noreply.github.com> Date: Mon, 27 May 2024 20:34:05 +0200 Subject: [PATCH 2/3] Add installation instructions to include global installation. --- docs/03_Get-Started/step-1-ready-851bde4.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/03_Get-Started/step-1-ready-851bde4.md b/docs/03_Get-Started/step-1-ready-851bde4.md index 18c66f7e..5b099b34 100644 --- a/docs/03_Get-Started/step-1-ready-851bde4.md +++ b/docs/03_Get-Started/step-1-ready-851bde4.md @@ -114,13 +114,13 @@ You can view and download all files at [Quick Start - Step 1](https://ui5.sap.co } ``` -7. Open a terminal in the app root folder and execute `npm i -D @ui5/cli` to install UI5 Tooling. +7. Open a terminal in the app root folder and execute `npm i -D -g @ui5/cli` to install UI5 Tooling. -8. Execute `npx ui5 init` in the app root folder. +8. Execute `ui5 init` in the app root folder. -9. Execute `npx ui5 use OpenUI5` +9. Execute `ui5 use OpenUI5` -10. Execute `npx ui5 add sap.m sap.tnt sap.ui.core sap.ui.layout themelib_sap_horizon` +10. Execute `ui5 add sap.m sap.tnt sap.ui.core sap.ui.layout themelib_sap_horizon` 11. Execute `npm start` to start the web server and to open a new browser window hosting your newly created `index.html`. From 3ff8f34b5e8d9bc26c19a098ca812c7f351f27bb Mon Sep 17 00:00:00 2001 From: Konrad <91384379+konnraad@users.noreply.github.com> Date: Tue, 28 May 2024 09:45:57 +0200 Subject: [PATCH 3/3] Added Setup instructions --- docs/03_Get-Started/step-1-ready-851bde4.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/03_Get-Started/step-1-ready-851bde4.md b/docs/03_Get-Started/step-1-ready-851bde4.md index 5b099b34..4f02c788 100644 --- a/docs/03_Get-Started/step-1-ready-851bde4.md +++ b/docs/03_Get-Started/step-1-ready-851bde4.md @@ -20,6 +20,10 @@ Let's get you ready for your journey! We bootstrap SAPUI5 in an HTML page and im +## Setup + +Install UI5 Tooling globally on your local machine by executing following command `npm install --global @ui5/cli`. + ## Coding You can view and download all files at [Quick Start - Step 1](https://ui5.sap.com/#/sample/sap.m.tutorial.quickstart.01/preview). @@ -114,7 +118,7 @@ You can view and download all files at [Quick Start - Step 1](https://ui5.sap.co } ``` -7. Open a terminal in the app root folder and execute `npm i -D -g @ui5/cli` to install UI5 Tooling. +7. Open a terminal in the app root folder and execute `npm i -D @ui5/cli` to install UI5 Tooling. 8. Execute `ui5 init` in the app root folder.