mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-17 16:00:14 +01:00
fix(documents): fix #771
This commit is contained in:
parent
9bd7dbded0
commit
78c70aec2e
3 changed files with 1081 additions and 73 deletions
|
|
@ -69,7 +69,7 @@ import { routing } from './new.routing';
|
|||
NewComponent
|
||||
]
|
||||
})
|
||||
export default class NewModule {}
|
||||
export class NewModule {}
|
||||
```
|
||||
<br>
|
||||
|
||||
|
|
@ -124,8 +124,8 @@ const routes: Routes = [
|
|||
component: Pages,
|
||||
children: [
|
||||
{ path: '', redirectTo: 'dashboard', pathMatch: 'full' },
|
||||
{ path: 'dashboard', loadChildren: () => System.import('./dashboard/dashboard.module') },
|
||||
{ path: 'new', loadChildren: () => System.import('./new/new.module') }
|
||||
{ path: 'dashboard', loadChildren: 'app/pages/dashboard/dashboard.module#DashboardModule' },
|
||||
{ path: 'new', loadChildren: 'app/pages/new/new.module#NewModule' }
|
||||
]
|
||||
}
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue