-
Notifications
You must be signed in to change notification settings - Fork 153
Open
Description
i have my route defined as below in my child application
const routes: Routes = [
{ path: 'admin', loadChildren: () => import('./admin/admin.module').then(m => m.AdminModule) },
{ path: '', redirectTo: '/admin', pathMatch: 'full' },
];
when i navingate to /app1/admin, I am getting below error.
ERROR Error: Uncaught (in promise): ChunkLoadError: Loading chunk admin-admin-module failed.
(error: http://localhost:4900/admin-admin-module.js)
ChunkLoadError: Loading chunk admin-admin-module failed.
(error: http://localhost:4900/admin-admin-module.js).
my root application is running on port 4900 and app1 is running on port 4901.
what changes I need to make to load the correct module in child application when navigating.
Metadata
Metadata
Assignees
Labels
No labels