Add a mithril route to the application.
The name of the route.
The path of the route.
must extend Page component.
Page
Optional
An optional custom route resolver class.
Add a mithril route to the application.