Consider I want to rewrite a URL from /register
to /tenant/register
, where:-
/register
does not have an actual view, as it only serve to make URL nicer./tenant/register
is the actual view, with a<my-tenant-register>
view element.
Is it possible to rewrite URL using <app-route>
? So that it can sort of have a virtual path and redirect to app-route accordingly with certain rules.