fix(documents): fix #771

This commit is contained in:
Alexander Zhukov 2017-02-28 14:49:45 +03:00
parent 9bd7dbded0
commit 78c70aec2e
3 changed files with 1081 additions and 73 deletions

View file

@ -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' }
]
}
];

View file

@ -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",

1142
yarn.lock

File diff suppressed because it is too large Load diff