ui5-community / generator-ui5-project

Generator for UI5-based web-apps which use the official UI5 tooling and support multiple deployment targets such as the SAP Business Technology Platform
Apache License 2.0
44 stars 27 forks source link

Remove JS View from template(s) #74

Closed tobiashofmann closed 5 months ago

tobiashofmann commented 5 months ago

easy-ui5 version

easy-ui5 3.8.1

Steps to reproduce

yo easy-ui5 project

Observed behavior

Wizard asks for view type and gives as option: XML and JS

image

Expected result

Is it possible to remove the view type JS? Seems that from the other templates this view type is already removed (yo easy-ui5 -> app -> does not ask and uses XML). Giving the users the option to use JS as view type will make it hard to find examples in the UI5 SDK docu

"Therefore, we concentrate on XML views and only provide examples for XML views throughout this documentation."

nicoschoenteich commented 5 months ago

Hi @tobiashofmann, the JS ("typed") view is still technically supported: https://ui5.sap.com/#/topic/e6bb33d076dc4f23be50c082c271b9f0 You are right though - it doesn't get much love in the docs. I am currently working on a complete rewrite for this generator (stay tuned for a session about this at UI5con 2024), and JS views will not be part of that. Best, Nico