As a developer of custom SAPUI5 apps,
I want to conveniently create new views and controller for my app,
so that I can build the app faster
Description
SAPUI5 apps currently lack support for the SAP Fiori tools Page map tool to create new (custom) pages and their artifacts after the generation. When generating an app using the SAP Fiori generator with the "Basic" template an initial xml view and controller for one root page are created, but subsequent views and controller need to be created manually.
This feature shall provide a npx "create" command based on open-source templates which creates the default artifacts and routing in the manifest for a given project.
Scope
for a given SAPUI5 project the command @sap-ux/create add SAPUI5-view shall
ask for the view name and namespace
ask for override in case a file exists already
create a default view in folder webapp/view
create a default controller in folder webapp/controller
create a new target in the manifest's routing section like
As a developer of custom SAPUI5 apps, I want to conveniently create new views and controller for my app, so that I can build the app faster
Description
SAPUI5 apps currently lack support for the SAP Fiori tools Page map tool to create new (custom) pages and their artifacts after the generation. When generating an app using the SAP Fiori generator with the "Basic" template an initial xml view and controller for one root page are created, but subsequent views and controller need to be created manually.
This feature shall provide a npx "create" command based on open-source templates which creates the default artifacts and routing in the manifest for a given project.
Scope
@sap-ux/create add SAPUI5-view
shallwebapp/view
webapp/controller
Out-of-scope
Technical Design
What modules need to be created or enhanced? How would the functionality be exposed and how can it be consumed?
Acceptance Criteria
Given I have a custom SAPUI5 app when I execute the command
add SAPUI5-view
then I get a new view/controller, both registered in manifest routing.Notes
Tasks