V
V
Vladimir2016-05-13 12:06:43
Angular
Vladimir, 2016-05-13 12:06:43

Where can I see an example of a route for submodules for Angular2?

Judging by the documentation , I can insert the @RouteConfig dector in any module and prescribe routes, even if this is not a top-level component but is connected in the routes of another component.
Where can I see examples of how paths are specified?
The documentation is slightly shaped and outdated along the way, where can I see the latest documentation on routes?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
bromzh, 2016-05-13
@Casufi

At the moment, the router in Angular is changed from the old one to the new one. rc1 has both versions. There are practically no docks for the new router yet (the developers say they are writing it right now), and some features have not yet been implemented. Docks in the old way may become obsolete. So it's better to wait.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question