SCION Workbench | Projects Overview | Changelog | Contributing | Sponsoring |
---|
SCION Workbench > How To Guides > View
The workbench displays a "Not Found" page if no route matches the requested URL. This happens when navigating to a route that does not exist or when loading the application, and the routes have changed since the last use.
The built-in "Not Found" page can be replaced, e.g., to localize the page, as follows:
import {bootstrapApplication} from '@angular/platform-browser';
import {provideWorkbench} from '@scion/workbench';
bootstrapApplication(AppComponent, {
providers: [
provideWorkbench({
pageNotFoundComponent: YourPageNotFoundComponent,
}),
],
});