Pines
This is a great tutorial !!! espcially for people as new as me in FE development. I have a quesiton though. When I close the browser/tab and when I open again the page it redirects me to the ‘/’ instead of the enpoint I created that is accessible for all signed-up users.
What I didi with your code was get rid of Home and post-manager endpoints and only have a home page which is the one anyone can see and when clicking the login you go to the particular endpoint:
<b-navbar-nav>
<b-nav-item to="/access/request" @click.prevent=“login” v-if="!activeUser">
Login
</b-nav-item>
<b-nav-item href="#" @click.prevent=“logout” v-else="">Logout</b-nav-item>
</b-navbar-nav>
I have been looking for some time now a way to make it work but I haven’t been able to do so. Do you have any idea on suggestion for this to work?