Click here to Skip to main content
15,888,351 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
How we can work with multiple projects in one workspace with lazy loading router

I use angualr cli to create new angular app like this

ng new main-app

then use angular cli to generate projects like this

ng generate application app-a
ng generate application app-b

i need to make lazy loading between these apps (main-app , app-a , app-b)
structure of the projects like the below

projects/app-a/src/app
projects/app-b/src/app
src/app

how i can navigate between app-a and app-b


What I have tried:

i tried to navigate between app-a and app-b using lazy loading between appAModule and appBModule but it's doesn't work 
Posted
Updated 5-Oct-18 17:05pm

1 solution

You cannot navigate between two separate application. what you are doing is generating two separate application and trying to navigate using lazyModule.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900