Answer the question
In order to leave comments, you need to log in
How to register paths for the admin part?
Good day!
I don’t know how to set the paths for the admin part (only the front) in react-router, so that it’s correct and without crutches. The problem is that Login and Admin should render without other components.
Answer the question
In order to leave comments, you need to log in
Use Login as a global component that will work with both Admin and Index site.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question