Skip to content

Commit dae5122

Browse files
committed
Add example for routing
1 parent c3b01ea commit dae5122

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,21 @@ npm start
4444
[Link](https://github.com/irustm/angular-nodegui/tree/master/projects/weather-demo)
4545

4646
#### Mac
47+
4748
<p align="center">
4849
<img src="https://raw.githubusercontent.com/irustm/angular-nodegui/master/demo/demo_widget_mac.png" width="300" title="angular nodegui demo">
4950
</p>
5051

5152
#### Windows
53+
5254
<p align="center">
5355
<img src="https://raw.githubusercontent.com/irustm/angular-nodegui/master/demo/demo_weather_widget.png" width="600" title="angular nodegui demo">
5456
</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)