-
Notifications
You must be signed in to change notification settings - Fork 101
Description
I develop 2 apps "my_source" and "my_dummy" in a mono repository. I would like to navigate from "my_source" to "my_dummy" using Intent Based Navigation.
Using BAS "Enable App-to-App navigation preview" creates entries in fioriSandboxConfig.json and ui5.yaml.
In ui5.yaml for fiori-tools-serve-static
under configuration a new entry was added:
- path: /resources/my.dummy
src: ../my_dummy/webapp
I have to change src
folder using dist
instead of webapp
and have to build "my_dummy" prior using "my_source".
So far this works.
My question is, whether there is a better solution than having to build the target navigation app upfront starting the run
task of "my_source". Adding a dependency to package.json
does not work for app components:
info graph:projectGraphBuilder Excluding additional application project my_dummy from graph. The project graph can only feature a single project of type application. Project my_source has already qualified for that role.
Developing several apps that require navigation is painful for me as a developer: instant code changes on "my_dummy" requires to run the build
task - which I forget often :-/.