Admin Area > extensions
Custom Routes
Learn how to add new routes in the Admin app.
This feature is available since Webiny v5.29.0.
- how to add new Admin app routes
Add a Route
The simplest route registration looks like this:
Plugins
element is necessary to make sure your route is registered after all the other application routes.
Layout
component is the default Admin app layout, which contains header, navigation, etc. This allows you to control whether you want to use the Admin app layout or not. For example, a login screen doesn’t have a layout, and if you want to build such routes, you can skip adding the Layout container.
AddRoute
component simply registers a route internally, but it doesn’t immediately render it. Rendering of routes is handled by Webiny, so think of this as a configuration, and Webiny will decide when the route will be rendered.