Closed marianfoo closed 1 year ago
Cc @akudev - FYI, this is indeed a good extension to the template.
@marianfoo : maybe we should also use the formatter and the model somewhere?
@petermuessig
added the formatter to the Main.controller
the model is already used in the Component
@petermuessig @akudev all good here?
I'm not really taking care of this app generator. Maybe @petermuessig can have a look.
@petermuessig can I merge?
@marianfoo I discussed this with @akudev and we keep that change open till after UI5con since it would alter the generated output: https://github.com/SAP-samples/ui5-typescript-tutorial
@marianfoo I discussed this with @akudev and we keep that change open till after UI5con since it would alter the generated output: https://github.com/SAP-samples/ui5-typescript-tutorial
all good here? any changes?
@marianfoo I'd suggest to merge this as soon as the fork/copy of the template in the tutorial repo is fully functional and its usage within the tutorial flow is documented. Then this template is decoupled from the tutorial and can be changed in any way.
From my perspective this PR can be merged now. But I'm not considering myself maintainer here, so @petermuessig ?
Description
Adding
models.ts
andformatter.ts
otherwise the js files from main template is usedChanges
models.ts
andformatter.ts
from https://github.com/ui5-community/generator-ui5-ts-app-fcl/tree/main/generators/app/templates/src/modelthis.setModel(models.createDeviceModel(), "device");
inComponent.ts