Skip to content

Commit

Permalink
fix(documents): fix #771
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Zhukov committed Feb 28, 2017
1 parent 9bd7dbd commit 78c70ae
Show file tree
Hide file tree
Showing 3 changed files with 1,080 additions and 72 deletions.
6 changes: 3 additions & 3 deletions docs/contents/articles/013-create-new-page/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ import { routing } from './new.routing';
NewComponent
]
})
export default class NewModule {}
export class NewModule {}
```
<br>

Expand Down Expand Up @@ -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' }
]
}
];
Expand Down
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Loading

0 comments on commit 78c70ae

Please sign in to comment.