tl;dr: I want to have dumb components resusable in different projects, where I send the necessary data to it on my UI5 application but web components is not an option currently.
Hello there,
I'm a seasoned developer but completely new to SAP UI5 and I have a question. The answer is definitely on the internet, but there is so much noise, and so many ways I see and I'm really confused on how to do this. I will try to detail as much as possible here.
I have several applications using UI5. Some internal areas (I wil call tem "components") are common in some of these application, only with the data being different but in the same shape.I will work with a "user adminsitration component" common to many projects.
I come from a React world, just for context.
Is there a simple way to create an internal repository with the code for the user administration module in it (XML and JS), where I can simply `npm install` my module, and import it on the project when I need.
Like this:
- on my application:
> npm install @mycompany/userAdminComponent
Once it's installed, I want to be able to import and use a view/fragment and its controller.
I'm not sure if it makes sense, and if you have any question please let me know!