Skip to content

Commit 6d76857

Browse files
committed
fix readme
1 parent dae5122 commit 6d76857

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,14 @@ npm start
3939
<img src="https://raw.githubusercontent.com/irustm/angular-nodegui/master/demo/demo_app.png" width="350" title="angular nodegui demo">
4040
</p>
4141

42+
### Router
43+
44+
Use `NodeguiRouterModule` instead of `RouterModule` for routing. [Example](https://github.com/irustm/angular-nodegui/blob/master/src/app/app.module.ts#L23)
45+
46+
```js
47+
NodeguiRouterModule.forRoot(appRoutes);
48+
```
49+
4250
### Widget
4351

4452
[Link](https://github.com/irustm/angular-nodegui/tree/master/projects/weather-demo)
@@ -54,11 +62,3 @@ npm start
5462
<p align="center">
5563
<img src="https://raw.githubusercontent.com/irustm/angular-nodegui/master/demo/demo_weather_widget.png" width="600" title="angular nodegui demo">
5664
</p>
57-
58-
### Router
59-
60-
Use `NodeguiRouterModule` instead of `RouterModule` for routing. [Example](https://github.com/irustm/angular-nodegui/blob/master/src/app/app.module.ts#L23)
61-
62-
```js
63-
NodeguiRouterModule.forRoot(appRoutes);
64-
```

0 commit comments

Comments
 (0)