Find answers, ask questions, and connect with our
community around the world.

Activity Forums Web Design Display navbar after successful login

  • Display navbar after successful login

    updated 3 weeks ago 0 Member · 1 Post
  • Maverick

    Member
    October 28, 2019 at 11:17 pm

    Hi guys, how can hide the nav-bar in my login page and display only after successful login? ​ As of now, it display with my login component: https://preview.redd.it/mikzfrq8oev31.png?width=1024&format=png&auto=webp&s=4abb3a93d34d49394673d067c00f9dcfdbca7bf1 I just want the navbar to be hidden if not logged in. here’s my App.vue. SAD Home| About | Logout export default { name: “App”, components: {}, computed: { isLoggedIn: function() { return this.$store.getters.isLoggedIn; } }, methods: { logout: function() { this.$store.dispatch(“logout”).then(() => { this.$router.push(“/login”); }); } } }; – by hq overview pereVush – –

Reply to: Maverick
Your information:

Cancel
Original Post
0 of 0 posts June 2018
Now