Tell me how to properly implement the following. There is a route "/" for unauthorized users, it should be processed by component A, and for authorized by component B, can this be done somehow at the level of the router itself, and not in components via if?

0