Routes

Routes allow you to define custom URLs paths that the Routes component can respond to, switching content based on the route URL.

To add any new route, just open routes resource from the main menu.

The key is autogenerated and serves for dynamic referencing a route. The label is user friendly name and the path is URL path. You can also include a parameter, which starts with :.

For example, route UserDetail can look like /users/id/:userId -> this route will have a single parameter called userId.

All registered routes are available in some components which support Link property.

For example, this settings make from button a link to the Signup route -> after click you will see the url in your browser or in Tester.

Link to a route changes the URL address, but has no influence on the content. For defining content you need to use the Routes component.

Last updated