'Importing a module replaces the UI (angular)
I have 2 modules. Graph and Customer.
Recently started following the mono repo structure and now I can't import modules without them changing the whole UI. The routing (url) remains the same.
The location of GraphModule is in apps>core>src>app>central>graph>graph.module.ts and the location for the Customer is in libs>web>customer>ui>src>lib>customer-ui.module.ts
Is there anyway for me to use the graph module without change UI for the customer?
Solution 1:[1]
If it is the same project then you can import a module to another module. otherwise, you can use The open() method of the Window interface for the routing.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Karesh |
