pathis a string that specifies the path of the route.
componentis a component type that specifies the component that should be mapped to the route.
/dashboards/main/path to the
**) which will be matched by the router if the visited URL doesn’t match any paths in the router configuration. This is usually used to display a page doesn’t exist message or redirect the users to an existing path.