A generator for SAPUI5 and OpenUI5(the Open-Source-licensed version of SAPUI5).
In order to get started, you'll want to install Yoeman globally. You may need to use sudo (for OSX, *nix, BSD etc) or run your command shell as Administrator (for Windows) to do this.
$ npm install -g yo
To install generator-sapui5 from npm, run:
$ npm install -g generator-sapui5
Initiate the generator:
$ yo sapui5
Finally, Preview:
$ grunt server
or
$ grunt
Result:
[TODO]Available generators:
- sapui5:view
-
--skip-install
Skips the automatic execution of
bower
andnpm
after scaffolding has finished. -
[TODO]
--app-style=[mobile|desktop]
Defaults to
mobile
. Can be switched fordesktop
.
Yeoman has a heart of gold. He's a person with feelings and opinions, but he's very easy to work with. If you think he's too opinionated, he can be easily convinced.
If you'd like to get to know Yeoman better and meet some of his friends, Grunt and Bower, check out the complete Getting Started Guide.