Every single-page application consists of routes, and the Admin app is no different.
Adding a new route is just a matter of creating a "route" plugin, for example:
If you are not already familiar with how plugins work, we recommend you take a look at the Plugins Crash Course.
The key property of the plugin is the
route property, which represents the new route you wish to create.
Note that because the Admin app relies on
@webiny/react-router library for all of the routing functionality, the shown
Route component must be used here.
pathprop on the
Routecomponent to specify the route's path, for example
What good are routes if you cannot access them via the user interface, right? Check this article in order to learn how to create menus, and enable users to quickly get to your newly created views.