Returns the page from the route. If the component provided is a function (and not a class) call the function to get the promise.
The route to resolve the component from.
The routing info to set up the component with.
The resolved page component.
Returns the page from the route. If the component provided is a function (and not a class) call the function to get the promise.