Answer the question
In order to leave comments, you need to log in
How to make 2 identical routers along the path "/", but show based on the conditions?
There are 2 application states, isAuth: true or false, which depend on the presence of tokens in locaStorage.
I need if there are no tokens so that along the path "/", one view with the name Home opens, and if there are tokens and they are alive, then open another view with the name Start
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question