mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-16 23:40: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' }
|
||||
]
|
||||
}
|
||||
];
|
||||
|
|
|
|||
|
|
@ -105,12 +105,16 @@
|
|||
"tslint": "4.4.2",
|
||||
"typedoc": "0.5.6",
|
||||
"typescript": "2.0.10",
|
||||
"typogr": "0.6.6",
|
||||
"underscore": "1.8.3",
|
||||
"url-loader": "0.5.7",
|
||||
"webpack": "2.2.0",
|
||||
"webpack-dev-middleware": "1.9.0",
|
||||
"webpack-dev-server": "2.2.0",
|
||||
"webpack-dll-bundles-plugin": "1.0.0-beta.5",
|
||||
"webpack-merge": "2.6.1"
|
||||
"webpack-merge": "2.6.1",
|
||||
"wintersmith": "2.2.5",
|
||||
"wintersmith-sassy": "1.1.0"
|
||||
},
|
||||
"scripts": {
|
||||
"rimraf": "rimraf",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue