fboeller/ngx-elements-router

Redirects

Closed this issue · 0 comments

Within the router module configuration of the web component, it should be possible to use client-side redirects with the identical effects as if they were used in the router module of the platform.

As an example, with the config {path: '', redirectTo:'/home', pathMatch: 'full'} and a request to /, the browser url should be changed to /home and on a click on the back button, it should navigate back to the previous page without visiting /.

This likely requires more information being passed between platform and micro frontend than just the path.