I have an application that uses vue-router, but it also has the need to login, and with this login comes the change in the header, where you will log in and register, or panel, but in specific cases.
I'm using vue router, is there any way this static element can change only when the session variable is set? or is there an element that can be used as a template within an application to be reweighted once?
I do not know how to solve this problem, if you can help me, grateful.