Answer the question
In order to leave comments, you need to log in
Loading different Angular modules for different users. How to implement?
Is there an option to load different modules for different users while writing one "build" of Angular?
The idea came to write a project where Module_Name for user_1 would look one way, and another way.
Answer the question
In order to leave comments, you need to log in
Make a map where the key is the user id and the value is the module. In the route, load the module from the map. You can dynamically assemble the module, but then you need to know the path to it and the name, you can generally send the module from the back as a file and assemble it and then use the components from there. Read here
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question