To get started, you need to ensure that you have a recent Node.js version (recommended: 18.x or 20.x) installed on your machine.
Next to Node.js you need to install Yeoman and the Easy UI5 Generator. Both NPM packages will be installed globally by entering the following command in your console:
npm install -g yo generator-easy-ui5
Please verify your installation to see if Yeoman has been installed correctly and the Easy UI5 Generator is available by executing the following command in your console:
yo --generators
Make sure that easy-ui5
is listed.
To verify the version of the installed generator-easy-ui5 you can run the following command:
npm list -g "generator-easy-ui5"
⚠️ Remark: The version must be at least3.6.2
to be able to consume the latest template from this repository available here!
When using Node.js 21.x or higher, you need at least version 3.7.0 of the Easy UI5 Generator.
For the tutorial we used the Easy UI5 Generator 3.6.2. You can also explicitly install this version vianpm install -g [email protected]
.
Now that you have prepared your computer you can go ahead and create your first UI5 TypeScript application.
Continue to - Exercise 1 - Create And Run Your Application