Aurelia supports routing out of the box. There is no additional work needed to bring in the router. You simply need to configure your router and use the ‘router-view’ custom element. In this chapter, we will be going over the capabilities and power of routing in Aurelia.
Router Configuration
Getting your application configured to use Aurelia’s router only takes a few steps. First, you need to ensure that you have a ‘router-view’ custom element on your view. A typical example of this would be placing this custom element in your app.html file. Consider the following example: ...